]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/WaypointList.cxx
Fix windows build
[flightgear.git] / src / GUI / WaypointList.cxx
index 967b3496cc76f10d9a5025c0ccc5aa7a6bfcc464..20183d44ea314894ef63520ccb2ed7317d094734 100644 (file)
@@ -96,7 +96,7 @@ public:
     _fp->deleteIndex(srcIndex);
     _fp->insertWayptAtIndex(w, destIndex);
 
-    if (srcIndex == currentWpIndex) {
+    if ((signed int) srcIndex == currentWpIndex) {
         // current waypoint was moved
         _fp->setCurrentIndex(destIndex);
     }