diff --git a/input/drivers/android_input.c b/input/drivers/android_input.c index 8bd1e8e1ea..07a3d628a7 100644 --- a/input/drivers/android_input.c +++ b/input/drivers/android_input.c @@ -1244,7 +1244,8 @@ static bool android_input_key_pressed(void *data, int key) rarch_joypad_info_t joypad_info; android_input_t *android = (android_input_t*)data; settings_t *settings = config_get_ptr(); - const struct retro_keybind *keyptr = input_config_binds[0][key]; + const struct retro_keybind *keyptr = (const struct retro_keybind*) + &input_config_binds[0][key]; if( keyptr->valid && android_keyboard_port_input_pressed(input_config_binds[0],