From 01f846feb21b457fe6cb59871f012cf9ad8d1828 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 5 Jul 2002 05:23:53 +0000 Subject: [PATCH] MSVC fixups. --- src/Network/atc610x.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Network/atc610x.cxx b/src/Network/atc610x.cxx index f93efaff9..d1af5d3da 100644 --- a/src/Network/atc610x.cxx +++ b/src/Network/atc610x.cxx @@ -949,7 +949,7 @@ bool FGATC610x::do_radio_switches() { fgSetInt( "/radios/kt-70/inputs/digit4", digit[3] ); int tmp = 0; - for ( int i = 0; i < 5; ++i ) { + for ( i = 0; i < 5; ++i ) { if ( radio_switch_data[27] >> i & 0x01 ) { tmp = i + 1; } @@ -1162,22 +1162,22 @@ bool FGATC610x::do_radio_display() { min = (int)(time / 60.0); time -= min * 60.0; sec = (int)time; - int big, small; + int big, little; if ( hours > 0 ) { big = hours; if ( big > 99 ) { big = 99; } - small = min; + little = min; } else { big = min; - small = sec; + little = sec; } if ( big > 99 ) { big = 99; } - // cout << big << ":" << small << endl; - sprintf(digits, "%02d%02d", big, small); + // cout << big << ":" << little << endl; + sprintf(digits, "%02d%02d", big, little); for ( i = 0; i < 6; ++i ) { digits[i] -= '0'; } -- 2.39.5