projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b47031a
)
Suppress warnings
author
fredb
<fredb>
Sat, 27 Jun 2009 07:41:33 +0000
(07:41 +0000)
committer
Tim Moore
<timoore@redhat.com>
Thu, 2 Jul 2009 06:51:12 +0000
(08:51 +0200)
simgear/scene/tgdb/TreeBin.cxx
patch
|
blob
|
history
diff --git
a/simgear/scene/tgdb/TreeBin.cxx
b/simgear/scene/tgdb/TreeBin.cxx
index a530ba32d3216489a8d703f055fcdcb069c5a1e7..6a74b92f73bf01165fecea621a3794be954bb86f 100644
(file)
--- 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 (
in
t 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;