From 9b142157b06a3c81cd69d01c7fabc18247020c88 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 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__) -- 2.30.2