Fix warnings

This commit is contained in:
twinaphex 2015-11-02 22:12:43 +01:00
parent 5e2ba2bdfc
commit ab230f5169
3 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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);

View File

@ -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));