]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/WaypointList.cxx
Continuous replay: use correct replay duration
[flightgear.git] / src / GUI / WaypointList.cxx
index ded3d46ecfc1c3c2db2e193587222f8b02c907d9..4f9d68b13af2cecd50797d313752d6b4d1147f90 100644 (file)
@@ -83,7 +83,7 @@ public:
       --destIndex;
     }
     
-    int currentWpIndex = currentWaypoint();
+    unsigned int currentWpIndex = currentWaypoint();
     WayptRef w(_rm->removeWayptAtIndex(srcIndex));
     SG_LOG(SG_GENERAL, SG_INFO, "wpt:" << w->ident());
     _rm->insertWayptAtIndex(w, destIndex);