]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/sh/jmpbuf-unwind.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / sh / jmpbuf-unwind.h
index 14ef42cacd8163bbe1398fcf0f3659f085854bce..8c55c2d218dca8611c0b2e94ec51d4e6da4f915e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
 static inline uintptr_t __attribute__ ((unused))
 _jmpbuf_sp (__jmp_buf regs)
 {
-  uintptr_t sp = regs[0].__regs[7];
+  void *sp = (void *) regs[0].__regs[7];
 #ifdef PTR_DEMANGLE
   PTR_DEMANGLE (sp);
 #endif
-  return sp;
+  return (uintptr_t) sp;
 }
 
 #define _JMPBUF_UNWINDS_ADJ(_jmpbuf, _address, _adj) \