]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/AirportList.cxx
Fix line endings
[flightgear.git] / src / GUI / AirportList.cxx
index fd6a72da560889fc974bffab8e71e841dbc913df..16f9785d037664420a3c0199f7459286111c6b5c 100644 (file)
@@ -15,7 +15,7 @@ AirportList::AirportList (int x, int y, int width, int height)
     _nAirports = _airports->size();
 
     _content = new char *[_nAirports+1];
-    for (unsigned int i = 0; i < _nAirports; i++) {
+    for (int i = 0; i < _nAirports; i++) {
         const FGAirport *airport = _airports->getAirport(i);
         snprintf(buf, 1023, "%s  %s",
                  airport->getId().c_str(),
@@ -33,7 +33,7 @@ AirportList::AirportList (int x, int y, int width, int height)
 
 AirportList::~AirportList ()
 {
-    for (unsigned int i = 0; i < _nAirports; i++) {
+    for (int i = 0; i < _nAirports; i++) {
         delete _content[i];
         _content[i] = 0;
     }