(svn r17138) -Fix: some MSVC 64 bits compiler warnings

This commit is contained in:
rubidium
2009-08-09 19:06:35 +00:00
parent ed9c01e8b0
commit 35d5a197d6
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ static void UpdateWaypointOrder(Order *o)
for (OldWaypoint *wp = _old_waypoints.Begin(); wp != _old_waypoints.End(); wp++) {
if (wp->index != o->GetDestination()) continue;
o->SetDestination(wp->new_index);
o->SetDestination((DestinationID)wp->new_index);
return;
}
}