include/SDL_thread.h
changeset 1850 d5d3a6fe05a1
parent 1471 9fb0eee04dd9
child 1895 c121d94672cb
child 3975 e85e65aec22f
--- a/include/SDL_thread.h	Wed May 17 15:08:46 2006 +0000
+++ b/include/SDL_thread.h	Wed May 17 18:57:04 2006 +0000
@@ -79,7 +79,7 @@
 typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code);
 #endif
 
-extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
+extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (SDLCALL *fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
 
 #ifdef __OS2__
 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthread, _endthread)