From 7653ced3b3538239c0f52400451a7923f011de5d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 28 Aug 2019 07:44:58 +0200 Subject: [PATCH] See if this finally silences the ASAN runtime errors --- retroarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroarch.c b/retroarch.c index b59b7c2f76..91ff653cb6 100644 --- a/retroarch.c +++ b/retroarch.c @@ -13104,7 +13104,7 @@ static void input_menu_keys_pressed(input_bits_t *p_new_state, } { - int32_t ret[MAX_USERS]; + int64_t ret[MAX_USERS]; /* Check the libretro input first */ for (port = 0; port < port_max; port++) { @@ -13288,7 +13288,7 @@ static void input_keys_pressed(input_bits_t *p_new_state) /* Check the libretro input first */ { - int32_t ret = current_input->input_state(current_input_data, + int64_t ret = current_input->input_state(current_input_data, joypad_info, &binds, 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_MASK); for (i = 0; i < RARCH_FIRST_META_KEY; i++)