From 4a16573786efe470732d9ee23157cea25d80c703 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Mon, 20 Jul 2015 20:25:05 +0100 Subject: [PATCH] fix cast warning --- src/windows/maze_construction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/maze_construction.c b/src/windows/maze_construction.c index 9e68c4dd3e..4f11f5bd2f 100644 --- a/src/windows/maze_construction.c +++ b/src/windows/maze_construction.c @@ -190,7 +190,7 @@ static void window_maze_construction_entrance_mouseup(rct_window *w, int widgetI return; RCT2_GLOBAL(0x00F44191, uint8) = widgetIndex == WIDX_MAZE_ENTRANCE ? 0 : 1; - RCT2_GLOBAL(0x00F44192, uint8) = w->number; + RCT2_GLOBAL(0x00F44192, uint8) = (uint8)w->number; RCT2_GLOBAL(0x00F44193, uint8) = 0; RCT2_GLOBAL(RCT2_ADDRESS_INPUT_FLAGS, uint32) |= INPUT_FLAG_6;