mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-30 19:24:20 +00:00
Fixed warning C4152: nonstandard extension, function/data pointer conversion in expression
This commit is contained in:
@@ -82,7 +82,7 @@ int SDL_SYS_CreateThread(SDL_Thread *thread)
|
||||
const DWORD flags = thread->stacksize ? STACK_SIZE_PARAM_IS_A_RESERVATION : 0;
|
||||
|
||||
/* Save the function which we will have to call to clear the RTL of calling app! */
|
||||
thread->endfunc = pfnEndThread;
|
||||
thread->endfunc = (SDL_FunctionPointer)pfnEndThread;
|
||||
|
||||
/* thread->stacksize == 0 means "system default", same as win32 expects */
|
||||
if (pfnBeginThread) {
|
||||
|
||||
Reference in New Issue
Block a user