MSVC fix.
This commit is contained in:
parent
2f13bafff5
commit
3420e23833
1 changed files with 2 additions and 2 deletions
|
@ -67,10 +67,10 @@ Encoder::Encoder(SGPropertyNode *node)
|
|||
num(0),
|
||||
staticPort("/systems/static")
|
||||
{
|
||||
for (int i = 0; altitude_data[i][0] != -1; i++)
|
||||
int i;
|
||||
for ( i = 0; altitude_data[i][0] != -1; i++ )
|
||||
altitudeTable->addEntry(altitude_data[i][0], altitude_data[i][1]);
|
||||
|
||||
int i;
|
||||
for ( i = 0; i < node->nChildren(); ++i ) {
|
||||
SGPropertyNode *child = node->getChild(i);
|
||||
string cname = child->getName();
|
||||
|
|
Loading…
Reference in a new issue