aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sh/bits/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/bits/setjmp.h')
-rw-r--r--sysdeps/sh/bits/setjmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/sh/bits/setjmp.h b/sysdeps/sh/bits/setjmp.h
index d92feea214..242720ca53 100644
--- a/sysdeps/sh/bits/setjmp.h
+++ b/sysdeps/sh/bits/setjmp.h
@@ -51,6 +51,6 @@ typedef struct
/* Test if longjmp to JMPBUF would unwind the frame
containing a local variable at ADDRESS. */
#define _JMPBUF_UNWINDS(jmpbuf, address) \
- ((void *) (address) < (jmpbuf)[0].__regs[7])
+ ((void *) (address) < (void *) (jmpbuf)[0].__regs[7])
#endif /* bits/setjmp.h */