Skip to content

Commit 155f99a

Browse files
mrpapersonicslouken
authored andcommitted
thread/windows: fix stack overflow in exception naming
(cherry picked from commit 1a85397) (cherry picked from commit 6421f12)
1 parent 63bb1a8 commit 155f99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread/windows/SDL_systhread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void SDL_SYS_SetupThread(const char *name)
159159
inf.dwFlags = 0;
160160

161161
/* The debugger catches this, renames the thread, continues on. */
162-
RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG), (const ULONG_PTR *)&inf);
162+
RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG_PTR), (const ULONG_PTR *)&inf);
163163
}
164164
}
165165
}

0 commit comments

Comments
 (0)