(_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers.
This commit is contained in:
parent
cf1b2c7b8c
commit
dc9335c14f
@ -38,4 +38,4 @@ typedef int __jmp_buf[6];
|
||||
/* Test if longjmp to JMPBUF would unwind the frame
|
||||
containing a local variable at ADDRESS. */
|
||||
#define _JMPBUF_UNWINDS(jmpbuf, address) \
|
||||
((int) (address) < (jmpbuf)[JB_SP])
|
||||
((void *) (address) < (void *) (jmpbuf)[JB_SP])
|
||||
|
Loading…
Reference in New Issue
Block a user