From 1c8d8e6c79186afc4360be2ead187360a5454e9f Mon Sep 17 00:00:00 2001 From: FessWolf Date: Tue, 22 Apr 2014 22:19:49 +0300 Subject: [PATCH] Fix argument type of the RaiseException() function --- src/porting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/porting.h b/src/porting.h index 427fce129..f19ff3a07 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__)