diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/tile/jmpbuf-unwind.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f7bfe91372..3b01ed88d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-26 Chris Metcalf <cmetcalf@ezchip.com> + + * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to + long before casting to pointer to avoid a cast warning. + 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com> * sysdeps/tile/tilegx/Implies: New file. diff --git a/sysdeps/tile/jmpbuf-unwind.h b/sysdeps/tile/jmpbuf-unwind.h index 3925e905b1..ec0be21f90 100644 --- a/sysdeps/tile/jmpbuf-unwind.h +++ b/sysdeps/tile/jmpbuf-unwind.h @@ -29,7 +29,7 @@ ((void *) (address) < (void *) demangle ((jmpbuf)[JB_SP])) #define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj) \ - _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj) + _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) (long) _Unwind_GetCFA (_context), _adj) static inline uintptr_t __attribute__ ((unused)) _jmpbuf_sp (__jmp_buf regs) |