Cleanup warnings

This commit is contained in:
twinaphex 2016-07-10 21:06:29 +02:00
parent 840ff59dd0
commit 346e3af66c
2 changed files with 3 additions and 3 deletions

View File

@ -4178,7 +4178,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
for (i = 0; i < RARCH_BIND_LIST_END; i++)
{
ret = menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN + i,
(enum msg_hash_enums)(MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN + i),
PARSE_ONLY_BIND, false);
(void)ret;
}
@ -4536,7 +4536,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
for(user = 0; user < settings->input.max_users; user++)
{
menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_NETWORK_REMOTE_USER_1_ENABLE + user,
(enum msg_hash_enums)(MENU_ENUM_LABEL_NETWORK_REMOTE_USER_1_ENABLE + user),
PARSE_ONLY_BOOL, false);
}
}

View File

@ -6255,7 +6255,7 @@ static bool setting_append_list(
&group_info, &subgroup_info, parent_group);
(*list)[list_info->index - 1].bind_type = i + MENU_SETTINGS_BIND_BEGIN;
menu_settings_list_current_add_enum_idx(list, list_info,
MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN + i);
(enum msg_hash_enums)(MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN + i));
}
END_SUB_GROUP(list, list_info, parent_group);