]> git.mxchange.org Git - simgear.git/commitdiff
Suppress warnings
authorfredb <fredb>
Sat, 27 Jun 2009 07:41:33 +0000 (07:41 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 2 Jul 2009 06:51:12 +0000 (08:51 +0200)
simgear/scene/tgdb/TreeBin.cxx

index a530ba32d3216489a8d703f055fcdcb069c5a1e7..6a74b92f73bf01165fecea621a3794be954bb86f 100644 (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;