X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2FWaypointList.cxx;h=4f9d68b13af2cecd50797d313752d6b4d1147f90;hb=9bd00a62facf50830e4eeccfbf8ce57f4c1f444f;hp=ded3d46ecfc1c3c2db2e193587222f8b02c907d9;hpb=9c98258ab08b48420c86cf09c0f6ba9d1ff82700;p=flightgear.git diff --git a/src/GUI/WaypointList.cxx b/src/GUI/WaypointList.cxx index ded3d46ec..4f9d68b13 100644 --- a/src/GUI/WaypointList.cxx +++ b/src/GUI/WaypointList.cxx @@ -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);