From e80fd6d03690af7d81a7f378034cc73bad2acddc Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Mon, 12 Mar 2012 17:54:51 +0100 Subject: [PATCH] Fix signed/unsigned comparison warning. --- src/ros_joint_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ros_joint_state.cpp b/src/ros_joint_state.cpp index b35fe82..f6a78b5 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 { -- GitLab