aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFessWolf <fesswolf10@gmail.com>2014-04-22 22:19:49 +0300
committerShadowNinja <shadowninja@minetest.net>2014-04-23 15:39:33 -0400
commit9b142157b06a3c81cd69d01c7fabc18247020c88 (patch)
tree830c7f9bebc0958f083a348ab9aa6a0b8b9f85b5 /src
parent41bc24477b732b74bd18839a9742d32bd85d1b44 (diff)
downloadminetest-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.h2
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__)