diff --git a/industrial_utils/src/utils.cpp b/industrial_utils/src/utils.cpp index b2b0335f..c78dcd4c 100644 --- a/industrial_utils/src/utils.cpp +++ b/industrial_utils/src/utils.cpp @@ -78,7 +78,7 @@ bool findChainJointNames(const boost::shared_ptr &link, bool i // check for joints directly connected to this link const joint_list &joints = link->child_joints; - ROS_DEBUG("Found %d child joints:", joints.size()); + ROS_DEBUG("Found %lu child joints:", joints.size()); for (joint_list::const_iterator it=joints.begin(); it!=joints.end(); ++it) { ROS_DEBUG_STREAM(" " << (*it)->name << ": type " << (*it)->type); @@ -100,7 +100,7 @@ bool findChainJointNames(const boost::shared_ptr &link, bool i // check for joints connected to children of this link const link_list &links = link->child_links; std::vector sub_joints; - ROS_DEBUG("Found %d child links:", links.size()); + ROS_DEBUG("Found %lu child links:", links.size()); for (link_list::const_iterator it=links.begin(); it!=links.end(); ++it) { ROS_DEBUG_STREAM(" " << (*it)->name);