From 973ffbf289accc941b04a15de7ec246b7ef99592 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 18 Jul 2002 22:32:50 +0000 Subject: [PATCH] Patch from Cameron Moore: * Fixed (un)signed comparisons --- src/Model/model.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/model.cxx b/src/Model/model.cxx index 64621ea0c..8e20a812a 100644 --- a/src/Model/model.cxx +++ b/src/Model/model.cxx @@ -151,7 +151,7 @@ read_interpolation_table (const SGPropertyNode * props) if (table_node != 0) { SGInterpTable * table = new SGInterpTable(); vector entries = table_node->getChildren("entry"); - for (int i = 0; i < entries.size(); i++) + for (unsigned int i = 0; i < entries.size(); i++) table->addEntry(entries[i]->getDoubleValue("ind", 0.0), entries[i]->getDoubleValue("dep", 0.0)); return table; @@ -176,7 +176,7 @@ FG3DModel::~FG3DModel () // since the nodes are attached to the scene graph, they'll be // deleted automatically - int i; + unsigned int i; for (i = 0; i < _animations.size(); i++) delete _animations[i]; } -- 2.39.5