Patch from Cameron Moore:
* Fixed (un)signed comparisons
This commit is contained in:
parent
bf1e7c7881
commit
973ffbf289
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ read_interpolation_table (const SGPropertyNode * props)
|
||||||
if (table_node != 0) {
|
if (table_node != 0) {
|
||||||
SGInterpTable * table = new SGInterpTable();
|
SGInterpTable * table = new SGInterpTable();
|
||||||
vector<SGPropertyNode_ptr> entries = table_node->getChildren("entry");
|
vector<SGPropertyNode_ptr> 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),
|
table->addEntry(entries[i]->getDoubleValue("ind", 0.0),
|
||||||
entries[i]->getDoubleValue("dep", 0.0));
|
entries[i]->getDoubleValue("dep", 0.0));
|
||||||
return table;
|
return table;
|
||||||
|
@ -176,7 +176,7 @@ FG3DModel::~FG3DModel ()
|
||||||
// since the nodes are attached to the scene graph, they'll be
|
// since the nodes are attached to the scene graph, they'll be
|
||||||
// deleted automatically
|
// deleted automatically
|
||||||
|
|
||||||
int i;
|
unsigned int i;
|
||||||
for (i = 0; i < _animations.size(); i++)
|
for (i = 0; i < _animations.size(); i++)
|
||||||
delete _animations[i];
|
delete _animations[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue