mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
thread/windows: fix stack overflow in exception naming
(cherry picked from commit 1a853973ab)
This commit is contained in:
parent
ee49025f80
commit
6421f12d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void SDL_SYS_SetupThread(const char *name)
|
|||
inf.dwFlags = 0;
|
||||
|
||||
/* 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue