mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
Fix warnings
This commit is contained in:
parent
5e2ba2bdfc
commit
ab230f5169
@ -981,7 +981,7 @@ static void *materialui_init(void)
|
||||
if (!menu)
|
||||
goto error;
|
||||
|
||||
if (!menu_display_check_compatibility(menu_ctx_materialui.type))
|
||||
if (!menu_display_check_compatibility((enum menu_display_driver_type)menu_ctx_materialui.type))
|
||||
goto error;
|
||||
|
||||
menu->userdata = (materialui_handle_t*)calloc(1, sizeof(materialui_handle_t));
|
||||
|
@ -1826,7 +1826,7 @@ static void *xmb_init(void)
|
||||
if (!menu)
|
||||
goto error;
|
||||
|
||||
if (!menu_display_check_compatibility(menu_ctx_xmb.type))
|
||||
if (!menu_display_check_compatibility((enum menu_display_driver_type)menu_ctx_xmb.type))
|
||||
goto error;
|
||||
|
||||
video_driver_get_size(&width, &height);
|
||||
|
@ -1088,7 +1088,7 @@ static void *zarch_init(void)
|
||||
if (!menu)
|
||||
goto error;
|
||||
|
||||
if (!menu_display_check_compatibility(menu_ctx_zarch.type))
|
||||
if (!menu_display_check_compatibility((enum menu_display_driver_type)menu_ctx_zarch.type))
|
||||
goto error;
|
||||
|
||||
menu->userdata = (zui_t*)calloc(1, sizeof(zui_t));
|
||||
|
Loading…
Reference in New Issue
Block a user