(_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers.

This commit is contained in:
Ulrich Drepper 1998-04-22 09:27:22 +00:00
parent cf1b2c7b8c
commit dc9335c14f

View File

@ -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])