- 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:
mvandervoord
2010-09-19 23:46:44 +00:00
parent 6df8f3d4ac
commit a6f78d0d28
2 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -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)