(sdl_gfx.c) Avoid warning by casting directly

This commit is contained in:
twinaphex 2015-12-12 17:54:27 +01:00
parent d62a246ea8
commit 8a213b8ab4

View File

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