projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41bc244
)
Fix argument type of the RaiseException() function
author
FessWolf
<fesswolf10@gmail.com>
Tue, 22 Apr 2014 19:19:49 +0000
(22:19 +0300)
committer
ShadowNinja
<shadowninja@minetest.net>
Wed, 23 Apr 2014 19:39:33 +0000
(15:39 -0400)
src/porting.h
patch
|
blob
|
history
diff --git
a/src/porting.h
b/src/porting.h
index 427fce129f31b610e962df63825935732d7040be..f19ff3a077cb462a8759410e1f74902bd5b6b06f 100644
(file)
--- 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__)