]> 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 aff84f1364aedfc3c891425b5862b0f07c34600b..8c55c2d218dca8611c0b2e94ec51d4e6da4f915e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2013 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) \