thread/windows: fix stack overflow in exception naming

(cherry picked from commit 1a853973ab)
(cherry picked from commit 6421f12d7f)
This commit is contained in:
Paper 2025-02-17 22:27:17 -05:00 committed by Sam Lantinga
parent 63bb1a8583
commit 155f99a4e6
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void SDL_SYS_SetupThread(const char *name)
inf.dwFlags = 0; inf.dwFlags = 0;
/* The debugger catches this, renames the thread, continues on. */ /* The debugger catches this, renames the thread, continues on. */
RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG), (const ULONG_PTR *)&inf); RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG_PTR), (const ULONG_PTR *)&inf);
} }
} }
} }