diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-21 16:41:57 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-21 16:41:57 +0000 |
commit | c3151ad1004f97b8595449c8ed9af01c5d58906f (patch) | |
tree | f4206a5a7dea3d9d6362a6ab210d7dd187aae9c1 | |
parent | 7e1be741255c40a2d71ea7c888eff39a3aaa32e9 (diff) | |
download | glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.tar.gz glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.tar.xz glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.zip |
Cast to uintptr_t in MIPS jmpbuf-unwind.h.
-rw-r--r-- | ports/ChangeLog.mips | 3 | ||||
-rw-r--r-- | ports/sysdeps/mips/jmpbuf-unwind.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 8c84869306..5ef48f4e77 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -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> diff --git a/ports/sysdeps/mips/jmpbuf-unwind.h b/ports/sysdeps/mips/jmpbuf-unwind.h index ba174d6079..355ca56f78 100644 --- a/ports/sysdeps/mips/jmpbuf-unwind.h +++ b/ports/sysdeps/mips/jmpbuf-unwind.h @@ -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 |