diff options
author | FessWolf <fesswolf10@gmail.com> | 2014-04-22 22:19:49 +0300 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-04-23 15:39:33 -0400 |
commit | 9b142157b06a3c81cd69d01c7fabc18247020c88 (patch) | |
tree | 830c7f9bebc0958f083a348ab9aa6a0b8b9f85b5 /src | |
parent | 41bc24477b732b74bd18839a9742d32bd85d1b44 (diff) | |
download | minetest-9b142157b06a3c81cd69d01c7fabc18247020c88.tar.gz minetest-9b142157b06a3c81cd69d01c7fabc18247020c88.tar.bz2 minetest-9b142157b06a3c81cd69d01c7fabc18247020c88.zip |
Fix argument type of the RaiseException() function
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |