From: FessWolf Date: Tue, 22 Apr 2014 19:19:49 +0000 (+0300) Subject: Fix argument type of the RaiseException() function X-Git-Tag: 0.4.10~161 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b142157b06a3c81cd69d01c7fabc18247020c88;p=oweals%2Fminetest.git Fix argument type of the RaiseException() function --- 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__)