From 78b4318c34f5e970f08f24bcda37ede62cc95ef7 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 27 Jun 2009 07:41:33 +0000 Subject: [PATCH] Suppress warnings --- simgear/scene/tgdb/TreeBin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5