diff --git a/src/thread/windows/SDL_systhread.c b/src/thread/windows/SDL_systhread.c index c30694a247..c5bee81f23 100644 --- a/src/thread/windows/SDL_systhread.c +++ b/src/thread/windows/SDL_systhread.c @@ -153,7 +153,7 @@ void SDL_SYS_SetupThread(const char *name) inf.dwFlags = 0; // The debugger catches this, renames the thread, continues on. - RaiseException(SDL_DEBUGGER_NAME_EXCEPTION_CODE, 0, sizeof(inf) / sizeof(ULONG), (const ULONG_PTR *)&inf); + RaiseException(SDL_DEBUGGER_NAME_EXCEPTION_CODE, 0, sizeof(inf) / sizeof(ULONG_PTR), (const ULONG_PTR *)&inf); RemoveVectoredExceptionHandler(exceptionHandlerHandle); } }