mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-08-09 12:47:52 +00:00
- reduced size of sample numbers in tests to support smaller targets out of the box
- performed a pointless cast for compilers not smart enough to understand git-svn-id: http://cexception.svn.sourceforge.net/svnroot/cexception/trunk@13 50f63946-2846-0410-8d77-f904c773002e
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ extern volatile CEXCEPTION_FRAME_T CExceptionFrames[];
|
||||
jmp_buf *PrevFrame, NewFrame; \
|
||||
unsigned int MY_ID = CEXCEPTION_GET_ID; \
|
||||
PrevFrame = CExceptionFrames[CEXCEPTION_GET_ID].pFrame; \
|
||||
CExceptionFrames[MY_ID].pFrame = &NewFrame; \
|
||||
CExceptionFrames[MY_ID].pFrame = (jmp_buf*)(&NewFrame); \
|
||||
CExceptionFrames[MY_ID].Exception = CEXCEPTION_NONE; \
|
||||
if (setjmp(NewFrame) == 0) { \
|
||||
if (&PrevFrame)
|
||||
|
||||
Reference in New Issue
Block a user