From dc9335c14f91623093bf0c7db855e9d1fbc67071 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Apr 1998 09:27:22 +0000 Subject: [PATCH] (_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers. --- sysdeps/i386/bits/setjmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/i386/bits/setjmp.h b/sysdeps/i386/bits/setjmp.h index 4672922..2f5b445 100644 --- a/sysdeps/i386/bits/setjmp.h +++ b/sysdeps/i386/bits/setjmp.h @@ -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]) -- 2.7.4