fix warning

This commit is contained in:
wim 2010-01-28 20:54:00 +00:00
parent 2d630925c4
commit 9efcb7c56f
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ RigidBodyInertia toKdl(boost::shared_ptr<urdf::Inertial> i)
bool addChildrenToTree(boost::shared_ptr<const urdf::Link> root, Tree& tree) bool addChildrenToTree(boost::shared_ptr<const urdf::Link> root, Tree& tree)
{ {
std::vector<boost::shared_ptr<urdf::Link> > children = root->child_links; std::vector<boost::shared_ptr<urdf::Link> > children = root->child_links;
ROS_DEBUG("Link %s had %i children", root->name.c_str(), children.size()); ROS_DEBUG("Link %s had %u children", root->name.c_str(), children.size());
// constructs the optional inertia // constructs the optional inertia
RigidBodyInertia inert(0); RigidBodyInertia inert(0);