Commit | Line | Data |
---|---|---|
1 | --- a/src/lib/platform/threads/threads.h | |
2 | +++ b/src/lib/platform/threads/threads.h | |
3 | @@ -52,8 +52,9 @@ | |
4 | if (ThreadsWait(m_thread, &retVal)){}; // silence unused warning | |
5 | } | |
6 | ||
7 | - static void *ThreadHandler(CThread *thread) | |
8 | + static void *ThreadHandler(void *_thread) | |
9 | { | |
10 | + CThread *thread = static_cast<CThread *>(_thread); | |
11 | void *retVal = NULL; | |
12 | ||
13 | if (thread) |