Fix warning.

This commit is contained in:
duncanspumpkin 2015-12-04 16:57:43 +00:00
parent 8eb313f852
commit 11398cf60f
1 changed files with 1 additions and 1 deletions

View File

@ -1599,7 +1599,7 @@ void window_ride_construct(rct_window *w)
{
// Window may be closed by close by class so
// make backup before calling.
uint8 rideIndex = w->number;
uint8 rideIndex = (uint8)w->number;
window_close_by_class(WC_RIDE_CONSTRUCTION);
ride_construct(rideIndex);
}