diff --git a/src/porting.h b/src/porting.h index 427fce12..f19ff3a0 100644 --- a/src/porting.h +++ b/src/porting.h @@ -302,7 +302,7 @@ inline u32 getTime(TimePrecision prec) info.dwThreadID = -1; info.dwFlags = 0; __try { - RaiseException(0x406D1388, 0, sizeof(info) / sizeof(DWORD), (DWORD *) &info); + RaiseException(0x406D1388, 0, sizeof(info) / sizeof(DWORD), (ULONG_PTR *) &info); } __except (EXCEPTION_CONTINUE_EXECUTION) {} } #elif defined(__APPLE__)