From: FessWolf Date: Tue, 22 Apr 2014 19:19:49 +0000 (+0300) Subject: Fix argument type of the RaiseException() function X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9b142157b06a3c81cd69d01c7fabc18247020c88;p=zefram%2Fminetest%2Fminetest_engine.git Fix argument type of the RaiseException() function --- 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__)