diff options
-rw-r--r-- | src/utils/sdlhelper.cpp | 2 | ||||
-rw-r--r-- | src/utils/sdlhelper.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/sdlhelper.cpp b/src/utils/sdlhelper.cpp index 5b640f570..691a5238e 100644 --- a/src/utils/sdlhelper.cpp +++ b/src/utils/sdlhelper.cpp @@ -95,7 +95,7 @@ bool SDL::getWindowWMInfo(SDL_Surface *const window A_UNUSED, return SDL_GetWMInfo(info); } -SDL_Thread *SDL::createThread(SDL_ThreadFunction fn, +SDL_Thread *SDL::createThread(int (SDLCALL *fn)(void *), const char *name A_UNUSED, void *data) { return SDL_CreateThread(fn, data); diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index e09e05b7b..70f266788 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -53,7 +53,7 @@ namespace SDL bool getWindowWMInfo(SDL_Surface *const window A_UNUSED, SDL_SysWMinfo *const info); - SDL_Thread *createThread(SDL_ThreadFunction fn, + SDL_Thread *createThread(int (SDLCALL *fn)(void *), const char *name A_UNUSED, void *data); } // namespace SDL |