summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index cc0145aab..5a5ca791d 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;
}