Suppress warnings

This commit is contained in:
fredb
2009-06-27 07:41:33 +00:00
committed by Tim Moore
parent b47031a099
commit 78b4318c34

View File

@@ -317,7 +317,7 @@ osg::Group* createForest(TreeBin& forest, const osg::Matrix& transform)
group = quadtree.getRoot();
}
MatrixTransform* mt = new MatrixTransform(transform);
for (int i = 0; i < group->getNumChildren(); ++i)
for (size_t i = 0; i < group->getNumChildren(); ++i)
mt->addChild(group->getChild(i));
mt->setStateSet(stateset);
return mt;