Skip to content

Commit

Permalink
thread/windows: fix stack overflow in exception naming
Browse files Browse the repository at this point in the history
(cherry picked from commit 1a85397)
  • Loading branch information
mrpapersonic authored and slouken committed Feb 20, 2025
1 parent ee49025 commit 6421f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/windows/SDL_systhread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 6421f12

Please sign in to comment.