Skip to content

Commit 9b14215

Browse files
FessWolfShadowNinja
authored andcommittedApr 23, 2014
Fix argument type of the RaiseException() function
1 parent 41bc244 commit 9b14215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/porting.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ inline u32 getTime(TimePrecision prec)
302302
info.dwThreadID = -1;
303303
info.dwFlags = 0;
304304
__try {
305-
RaiseException(0x406D1388, 0, sizeof(info) / sizeof(DWORD), (DWORD *) &info);
305+
RaiseException(0x406D1388, 0, sizeof(info) / sizeof(DWORD), (ULONG_PTR *) &info);
306306
} __except (EXCEPTION_CONTINUE_EXECUTION) {}
307307
}
308308
#elif defined(__APPLE__)

0 commit comments

Comments
 (0)
Please sign in to comment.