summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/hppa/bits/setjmp.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-01 03:08:57 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-01 03:08:57 +0000
commit4d17e7e7c5dec2d055cf96b9c4a5fa457fdef772 (patch)
tree4e10e6338d55fe67bfcbc5a971a1dab14481f94f /libc/sysdeps/linux/hppa/bits/setjmp.h
parent0600b878cde4e363436e51833393463e715e2f04 (diff)
downloaduClibc-alpine-4d17e7e7c5dec2d055cf96b9c4a5fa457fdef772.tar.bz2
uClibc-alpine-4d17e7e7c5dec2d055cf96b9c4a5fa457fdef772.tar.xz
Mini-merge from trunk. Not as fun as a Mini Cooper, but oh well.
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 */