mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Cast to uintptr_t in MIPS jmpbuf-unwind.h.
This commit is contained in:
parent
7e1be74125
commit
c3151ad100
@ -1,5 +1,8 @@
|
||||
2012-11-21 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
|
||||
uintptr_t.
|
||||
|
||||
* sysdeps/mips/sotruss-lib.c: New file.
|
||||
|
||||
2012-11-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
@ -33,7 +33,7 @@
|
||||
static inline uintptr_t __attribute__ ((unused))
|
||||
_jmpbuf_sp (__jmp_buf regs)
|
||||
{
|
||||
uintptr_t sp = regs[0].__sp;
|
||||
uintptr_t sp = (uintptr_t) regs[0].__sp;
|
||||
#ifdef PTR_DEMANGLE
|
||||
PTR_DEMANGLE (sp);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user