Skip to content

Commit aa050fd

Browse files
Fix typo in warning message about field casting
1 parent f0e75e5 commit aa050fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/include/pcl/conversions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ namespace pcl
143143
((field.count == pcl::traits::datatype<PointT, Tag>::size) ||
144144
(field.count == 0 && pcl::traits::datatype<PointT, Tag>::size == 1))) {
145145
#define PCL_CAST_POINT_FIELD(TYPE) case ::pcl::traits::asEnum_v<TYPE>: \
146-
PCL_WARN("Will try to cast field '%s' (original type is " #TYPE "). You may loose precision during casting. Make sure that this is acceptable or choose a different point type.\n", pcl::traits::name<PointT, Tag>::value); \
146+
PCL_WARN("Will try to cast field '%s' (original type is " #TYPE "). You may lose precision during casting. Make sure that this is acceptable or choose a different point type.\n", pcl::traits::name<PointT, Tag>::value); \
147147
for (std::size_t row = 0; row < msg_.height; ++row) { \
148148
const std::uint8_t* row_data = msg_data_ + row * msg_.row_step; \
149149
for (std::size_t col = 0; col < msg_.width; ++col) { \

0 commit comments

Comments
 (0)