From: fredb Date: Sat, 27 Jun 2009 07:41:33 +0000 (+0000) Subject: Suppress warnings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78b4318c34f5e970f08f24bcda37ede62cc95ef7;p=simgear.git Suppress warnings --- diff --git a/simgear/scene/tgdb/TreeBin.cxx b/simgear/scene/tgdb/TreeBin.cxx index a530ba32..6a74b92f 100644 --- a/simgear/scene/tgdb/TreeBin.cxx +++ b/simgear/scene/tgdb/TreeBin.cxx @@ -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;