Warning fixes

This commit is contained in:
Robert Osfield
2009-03-13 11:06:12 +00:00
parent a8aad71d03
commit f1053c52dc
2 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ struct GeometryFinder : public osg::NodeVisitor
{
if (_geom.valid())
return;
for (int i = 0; i < geode.getNumDrawables(); i++)
for (unsigned int i = 0; i < geode.getNumDrawables(); i++)
{
osg::Geometry* geom = dynamic_cast<osg::Geometry*>(geode.getDrawable(i));
if (geom) {