[git commit] NPTL: SH: silence warning

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Mar 25 23:03:09 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=8836d184d4da65e8959210bc7b768e628b0273fb
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 .../nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
index 0b635d3..a9652bb 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
@@ -358,7 +358,7 @@ extern int __lll_unlock_wake (int *__futex, int private) attribute_hidden;
     register unsigned long __r5 __asm__ ("r5")				      \
       = __lll_private_flag (FUTEX_WAIT, private);			      \
     register unsigned long __r6 __asm__ ("r6") = (unsigned long) (val);	      \
-    register unsigned long __r7 __asm__ ("r7") = (timeout);			      \
+    register unsigned long __r7 __asm__ ("r7") = (unsigned long) (timeout);   \
     __asm__ __volatile__ (SYSCALL_WITH_INST_PAD				      \
 		      : "=z" (__status)					      \
 		      : "r" (__r3), "r" (__r4), "r" (__r5),		      \


More information about the uClibc-cvs mailing list