mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(sdl_gfx.c) Avoid warning by casting directly
This commit is contained in:
parent
d62a246ea8
commit
8a213b8ab4
@ -113,7 +113,7 @@ static void sdl_init_font(sdl_video_t *vid, const char *font_path, unsigned font
|
||||
if (!settings->video.font_enable)
|
||||
return;
|
||||
|
||||
if (!font_renderer_create_default(&vid->font_driver, &vid->font,
|
||||
if (!font_renderer_create_default((const void**)&vid->font_driver, &vid->font,
|
||||
*settings->video.font_path ? settings->video.font_path : NULL,
|
||||
settings->video.font_size))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user