X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGWeatherParse.cpp;h=2172ab89078f925ec00be85ea1aa6df084010da6;hb=7d3448294bc7486af3f4c1f0ff5c8493b03ffc90;hp=dfad23e4dd02282e58a0e224737326770043a58d;hpb=17c96ae69ed7a3c33c816e821ae88c501ab7cf65;p=flightgear.git diff --git a/src/WeatherCM/FGWeatherParse.cpp b/src/WeatherCM/FGWeatherParse.cpp index dfad23e4d..2172ab890 100644 --- a/src/WeatherCM/FGWeatherParse.cpp +++ b/src/WeatherCM/FGWeatherParse.cpp @@ -77,7 +77,7 @@ void FGWeatherParse::input(const char *file) { unsigned int nr = 0; - fg_gzifstream in; + sg_gzifstream in; cerr << "Parsing \"" << file << "\" for weather datas:\n"; @@ -112,7 +112,7 @@ void FGWeatherParse::input(const char *file) in >> temp.airpressure_history[2]; in >> temp.airpressure_history[3]; - for (int i = 0; i < weather_station.size(); i++) + for (unsigned int i = 0; i < weather_station.size(); i++) { if ((weather_station[i].lat == temp.lat) && (weather_station[i].lon == temp.lon)) {