diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 13:33:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-03-19 13:33:20 -0700 |
commit | 56965fd71c5484cab6f817851b0f89fcbe3243d3 (patch) | |
tree | 0947305c862d95f0d335a32e0bc5e2eb2e00e94c /sysdeps | |
parent | 1897ad44326bb7761dcda46132ae303f7288aba9 (diff) | |
download | glibc-56965fd71c5484cab6f817851b0f89fcbe3243d3.tar.gz glibc-56965fd71c5484cab6f817851b0f89fcbe3243d3.tar.xz glibc-56965fd71c5484cab6f817851b0f89fcbe3243d3.zip |
Cast _Unwind_GetCFA return to _Unwind_Ptr first
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/jmpbuf-unwind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/jmpbuf-unwind.h b/sysdeps/x86_64/jmpbuf-unwind.h index 646615d43b..890037ea7e 100644 --- a/sysdeps/x86_64/jmpbuf-unwind.h +++ b/sysdeps/x86_64/jmpbuf-unwind.h @@ -28,7 +28,9 @@ ((void *) (address) < (void *) demangle ((jmpbuf)[JB_RSP])) #define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj) \ - _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj) + _JMPBUF_UNWINDS_ADJ (_jmpbuf, \ + (void *) (_Unwind_Ptr) _Unwind_GetCFA (_context), \ + _adj) static inline uintptr_t __attribute__ ((unused)) _jmpbuf_sp (__jmp_buf regs) |