mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gthread-win32: Fix size argument passed to RaiseException
https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code?view=vs-2022#set-a-thread-name-by-throwing-an-exception
This commit is contained in:
parent
19d06340cf
commit
13c5256fd7
@ -593,7 +593,7 @@ SetThreadName (DWORD dwThreadID,
|
||||
info.dwThreadID = dwThreadID;
|
||||
info.dwFlags = 0;
|
||||
|
||||
infosize = sizeof (info) / sizeof (DWORD);
|
||||
infosize = sizeof (info) / sizeof (ULONG_PTR);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
__try
|
||||
|
Loading…
Reference in New Issue
Block a user