gthread: Fix incorrect cast

This commit is contained in:
Ole André Vadla Ravnås 2018-03-31 22:19:12 +02:00
parent 01b77666bc
commit d45d9f738c

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)
{