diff --git a/sdl.c b/sdl.c index cc0145aab6..5a5ca791de 100644 --- a/sdl.c +++ b/sdl.c @@ -64,7 +64,7 @@ static const char *LoadSdlDLL(void) { if (sdl_proc.SDL_Init != NULL) return NULL; - if (!LoadLibraryList((Function*)&sdl_proc, sdl_files)) + if (!LoadLibraryList((Function *)(void *)&sdl_proc, sdl_files)) return "Unable to load sdl.dll"; return NULL; }