Merge branch 'fix/gthread-win32-incorrect-cast' into 'master'

gthread: Fix incorrect cast

See merge request GNOME/glib!1841
This commit is contained in:
Sebastian Dröge 2021-01-05 22:33:01 +00:00
commit 6a6d82505a

View File

@ -580,7 +580,8 @@ SetThreadName (DWORD dwThreadID,
#ifdef _MSC_VER
__try
{
RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize, (DWORD *) &info);
RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize,
(const ULONG_PTR *) &info);
}
__except (EXCEPTION_EXECUTE_HANDLER)
{