diff --git a/src/ros_joint_state.cpp b/src/ros_joint_state.cpp index b35fe82a12c10e344d144de3593d0e1fd0917583..f6a78b593748efcf6f56cd1153d423673c72320b 100644 --- a/src/ros_joint_state.cpp +++ b/src/ros_joint_state.cpp @@ -35,7 +35,7 @@ static const char* dof_names[] = // dofs corresponding to the robot hand dofs. Therefore we put them // manually to zero to please ROS. If this is not the case, some // packages such as rviz will behave badly. -static const int handsDofsCount = 10; +static const std::size_t handsDofsCount = 10; namespace dynamicgraph {