summaryrefslogtreecommitdiff
path: root/sysdeps/i386/bits/setjmp.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-22 09:27:22 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-22 09:27:22 +0000
commitdc9335c14f91623093bf0c7db855e9d1fbc67071 (patch)
tree1bd9015d181c0640503099fd027c5c3b2b586441 /sysdeps/i386/bits/setjmp.h
parentcf1b2c7b8cfc22cc298e4746b2b47d7b155b815a (diff)
downloadglibc-dc9335c14f91623093bf0c7db855e9d1fbc67071.tar.gz
(_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers.
Diffstat (limited to 'sysdeps/i386/bits/setjmp.h')
-rw-r--r--sysdeps/i386/bits/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/bits/setjmp.h b/sysdeps/i386/bits/setjmp.h
index 46729224fd..2f5b44531a 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])