Skip to content

Commit f4c35a2

Browse files
authored
Use std::uint16_t to reduce build warnings from PCL (#449)
1 parent 45636c9 commit f4c35a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

velodyne_pcl/include/velodyne_pcl/point_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ namespace velodyne_pcl
5050
struct PointXYZIRT
5151
{
5252
PCL_ADD_POINT4D; // quad-word XYZ
53-
float intensity; ///< laser intensity reading
54-
uint16_t ring; ///< laser ring number
55-
float time; ///< laser time reading
53+
float intensity; ///< laser intensity reading
54+
std::uint16_t ring; ///< laser ring number
55+
float time; ///< laser time reading
5656
EIGEN_MAKE_ALIGNED_OPERATOR_NEW // ensure proper alignment
5757
}
5858
EIGEN_ALIGN16;
@@ -63,7 +63,7 @@ POINT_CLOUD_REGISTER_POINT_STRUCT(velodyne_pcl::PointXYZIRT,
6363
(float, y, y)
6464
(float, z, z)
6565
(float, intensity, intensity)
66-
(uint16_t, ring, ring)
66+
(std::uint16_t, ring, ring)
6767
(float, time, time))
6868

6969
#endif // VELODYNE_PCL_POINT_TYPES_H

0 commit comments

Comments
 (0)