From a55f990e33bb94bea7b0ca96cd2156238e1ce8ef Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 20 May 2015 02:50:27 +0200 Subject: [PATCH] Buildfixes --- menu/menu_entries_cbs_iterate.c | 2 +- menu/menu_entry.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/menu_entries_cbs_iterate.c b/menu/menu_entries_cbs_iterate.c index 3d1debcdc4..020515e355 100644 --- a/menu/menu_entries_cbs_iterate.c +++ b/menu/menu_entries_cbs_iterate.c @@ -535,7 +535,7 @@ static int action_iterate_main(const char *label, unsigned action) case ITERATE_TYPE_DEFAULT: selected = menu_navigation_get_current_selection(); menu_entry_get(&entry, selected, NULL, false); - ret = menu_entry_action(&entry, selected, (menu_action)action); + ret = menu_entry_action(&entry, selected, (enum menu_action)action); if (ret) return ret; diff --git a/menu/menu_entry.c b/menu/menu_entry.c index d6180a69af..ed5bbb2694 100644 --- a/menu/menu_entry.c +++ b/menu/menu_entry.c @@ -227,7 +227,7 @@ int32_t menu_entry_bind_index(uint32_t i) void menu_entry_bind_key_set(uint32_t i, int32_t value) { rarch_setting_t *setting = menu_entry_get_setting(i); - BINDFOR(*setting).key = (retro_key)value; + BINDFOR(*setting).key = (enum retro_key)value; } void menu_entry_bind_joykey_set(uint32_t i, int32_t value)