summaryrefslogtreecommitdiff
path: root/src/setjmp/longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setjmp/longjmp.c')
-rw-r--r--src/setjmp/longjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setjmp/longjmp.c b/src/setjmp/longjmp.c
index ac31b5b2..ca5f1e42 100644
--- a/src/setjmp/longjmp.c
+++ b/src/setjmp/longjmp.c
@@ -63,7 +63,7 @@ _longjmp (jmp_buf env, int val)
if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0
|| unw_set_reg (&c, UNW_REG_EH + 1, val) < 0
|| unw_set_reg (&c, UNW_REG_IP,
- (unw_word_t) &_UI_longjmp_cont))
+ (unw_word_t) (uintptr_t) &_UI_longjmp_cont))
abort ();
unw_resume (&c);