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 /ports/sysdeps | |
parent | 7e1be741255c40a2d71ea7c888eff39a3aaa32e9 (diff) | |
download | glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.tar.gz glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.tar.xz glibc-c3151ad1004f97b8595449c8ed9af01c5d58906f.zip |
Cast to uintptr_t in MIPS jmpbuf-unwind.h.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/mips/jmpbuf-unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |