(MSVC) Buildfixes

This commit is contained in:
twinaphex 2015-05-20 02:45:32 +02:00
parent 33fc77f221
commit 066617ee62
4 changed files with 4 additions and 4 deletions

View File

@ -649,7 +649,7 @@ static bool d3d_construct(d3d_video_t *d3d,
if (!info->fullscreen)
{
video_driver_get_size(&rect.right, &rect.bottom);
video_driver_get_size((unsigned*)&rect.right, (unsigned*)&rect.bottom);
AdjustWindowRect(&rect, WS_OVERLAPPEDWINDOW, FALSE);
win_width = rect.right - rect.left;
win_height = rect.bottom - rect.top;

View File

@ -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, action);
ret = menu_entry_action(&entry, selected, (menu_action)action);
if (ret)
return ret;

View File

@ -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 = value;
BINDFOR(*setting).key = (retro_key)value;
}
void menu_entry_bind_joykey_set(uint32_t i, int32_t value)

View File

@ -230,7 +230,7 @@ menu_file_list_cbs_t *menu_list_get_actiondata_at_offset(const file_list_t *list
{
if (!list)
return NULL;
return file_list_get_actiondata_at_offset(list, idx);
return (menu_file_list_cbs_t*)file_list_get_actiondata_at_offset(list, idx);
}
void *menu_list_get_last_stack_actiondata(const menu_list_t *list)