Fix argument type of the RaiseException() function
authorFessWolf <fesswolf10@gmail.com>
Tue, 22 Apr 2014 19:19:49 +0000 (22:19 +0300)
committerShadowNinja <shadowninja@minetest.net>
Wed, 23 Apr 2014 19:39:33 +0000 (15:39 -0400)
src/porting.h

index 427fce129f31b610e962df63825935732d7040be..f19ff3a077cb462a8759410e1f74902bd5b6b06f 100644 (file)
@@ -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__)