summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/hppa/bits/setjmp.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-30 03:12:32 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-30 03:12:32 +0000
commit27fd5a2c32aa3b1e7ac3b34439e01855f8fdb37f (patch)
tree20de62463ae0db7fb48c93ccaabbcfe329c50196 /libc/sysdeps/linux/hppa/bits/setjmp.h
parent2b7cc2149b44952848592c2fbd25c7a8b6546359 (diff)
grab some headers/updates from glibc
Diffstat (limited to 'libc/sysdeps/linux/hppa/bits/setjmp.h')
-rw-r--r--libc/sysdeps/linux/hppa/bits/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/hppa/bits/setjmp.h b/libc/sysdeps/linux/hppa/bits/setjmp.h
index 253e92603..4395b8f56 100644
--- a/libc/sysdeps/linux/hppa/bits/setjmp.h
+++ b/libc/sysdeps/linux/hppa/bits/setjmp.h
@@ -40,6 +40,6 @@ typedef double __jmp_buf[21];
/* Test if longjmp to JMPBUF would unwind the frame containing a local
variable at ADDRESS. */
#define _JMPBUF_UNWINDS(_jmpbuf, _address) \
- ((void *)(_address) > (void *)(_jmpbuf[JB_SP]))
+ ((void *)(_address) > (void *)(((unsigned long *) _jmpbuf)[JB_SP]))
#endif /* bits/setjmp.h */