From 7ede9a3f58b5fbf8a2f3f2ec62429f60cf36ba81 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Wed, 13 Sep 2017 21:33:39 +0200 Subject: [PATCH] Add extra casts --- src/openrct2/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/game.c b/src/openrct2/game.c index 736b1f1624..14115b1ab2 100644 --- a/src/openrct2/game.c +++ b/src/openrct2/game.c @@ -1414,7 +1414,7 @@ void game_load_or_quit_no_save_prompt() } else { Intent * intent = intent_create(WC_LOADSAVE); intent_set_uint(intent, INTENT_EXTRA_LOADSAVE_TYPE, LOADSAVETYPE_LOAD | LOADSAVETYPE_GAME); - intent_set_pointer(intent, INTENT_EXTRA_CALLBACK, game_load_or_quit_no_save_prompt_callback); + intent_set_pointer(intent, INTENT_EXTRA_CALLBACK, (void *) game_load_or_quit_no_save_prompt_callback); context_open_intent(intent); intent_release(intent); }