From 575e8ce024cc96e6187063680f5eb25dd4fc636d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 25 Aug 2013 14:03:46 +0300 Subject: fix compilation with SDL1.2 --- src/utils/sdlhelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/sdlhelper.h') 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 -- cgit v1.2.3-60-g2f50