mirror of https://github.com/OpenTTD/OpenTTD
(svn r17138) -Fix: some MSVC 64 bits compiler warnings
parent
ed9c01e8b0
commit
35d5a197d6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -615,7 +615,7 @@ public:
|
|||
|
||||
if (x >= 10) {
|
||||
/* Increase button clicked */
|
||||
val = min(val + sdb->interval, sdb->max);
|
||||
val = min(val + sdb->interval, (int32)sdb->max);
|
||||
this->clicked_increase = true;
|
||||
} else {
|
||||
/* Decrease button clicked */
|
||||
|
|
Loading…
Reference in New Issue