X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWeatherCM%2FFGWeatherParse.cpp;h=2172ab89078f925ec00be85ea1aa6df084010da6;hb=7d3448294bc7486af3f4c1f0ff5c8493b03ffc90;hp=7fb7bf2a97667bbd21a3a3a55a0c55385f36c1ba;hpb=f1b1077d930d542014baf54a328b7a233182647a;p=flightgear.git diff --git a/src/WeatherCM/FGWeatherParse.cpp b/src/WeatherCM/FGWeatherParse.cpp index 7fb7bf2a9..2172ab890 100644 --- a/src/WeatherCM/FGWeatherParse.cpp +++ b/src/WeatherCM/FGWeatherParse.cpp @@ -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)) {