From f0f615c38ab561ed89dc23eed93aa6e1ea7b40d6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 14 Apr 2014 04:00:51 +0200 Subject: [PATCH] (OSX) Build fix --- frontend/menu/menu_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index 585f57e07c..ec25d63243 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -560,7 +560,7 @@ uint64_t menu_input(void) bool menu_custom_bind_keyboard_cb(void *data, unsigned code) { rgui_handle_t *rgui = (rgui_handle_t*)data; - rgui->binds.target->key = (retro_key)code; + rgui->binds.target->key = (unsigned)code; rgui->binds.begin++; rgui->binds.target++; rgui->binds.timeout_end = rarch_get_time_usec() + RGUI_KEYBOARD_BIND_TIMEOUT_SECONDS * 1000000;