From: curt Date: Mon, 21 Jul 2008 19:57:56 +0000 (+0000) Subject: Clean up a couple warnings. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b19a270d54caf4781c14545f151e77f28654e315;p=flightgear.git Clean up a couple warnings. --- diff --git a/utils/GPSsmooth/UGear_main.cxx b/utils/GPSsmooth/UGear_main.cxx index 318b0ea42..c38f0c408 100644 --- a/utils/GPSsmooth/UGear_main.cxx +++ b/utils/GPSsmooth/UGear_main.cxx @@ -1076,7 +1076,7 @@ int main( int argc, char **argv ) { health_time = healthpacket.time; current_time = health_time; printf("Received a health packet, sequence: %d\n", - healthpacket.command_sequence); + (int)healthpacket.command_sequence); command_mgr.update_cmd_sequence(healthpacket.command_sequence); } else { cout << "oops health back in time: " << healthpacket.time << " " << health_time << endl; @@ -1111,9 +1111,9 @@ int main( int argc, char **argv ) { if ( current_time >= last_time + (1/hertz) ) { // if ( gpspacket.lat > -500 ) { int londeg = (int)navpacket.lon; - double lonmin = fabs(navpacket.lon - londeg); + // double lonmin = fabs(navpacket.lon - londeg); int latdeg = (int)navpacket.lat; - double latmin = fabs(navpacket.lat - latdeg); + // double latmin = fabs(navpacket.lat - latdeg); char londir = 'E'; if ( londeg < 0 ) londir = 'W'; char latdir = 'N'; if ( latdeg < 0 ) latdir = 'S'; londeg = abs(londeg);