summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-25 14:03:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-25 14:03:46 +0300
commit575e8ce024cc96e6187063680f5eb25dd4fc636d (patch)
treeb4b6d414bcf0bdaad58a4fd5b3086a9ce0d901de /src/utils/sdlhelper.h
parentba0815355ef7be8e5f46720be5a6911e466e1568 (diff)
downloadmanaplus-575e8ce024cc96e6187063680f5eb25dd4fc636d.tar.gz
manaplus-575e8ce024cc96e6187063680f5eb25dd4fc636d.tar.bz2
manaplus-575e8ce024cc96e6187063680f5eb25dd4fc636d.tar.xz
manaplus-575e8ce024cc96e6187063680f5eb25dd4fc636d.zip
fix compilation with SDL1.2
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h2
1 files changed, 1 insertions, 1 deletions
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