* [PATCH 36/36] m68k: cast in strnlen switched to unsigned long
@ 2005-12-22 4:52 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-12-22 4:52 UTC (permalink / raw)
To: linux-m68k; +Cc: linux-kernel
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 1135012341 -0500
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
include/asm-m68k/uaccess.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
1dcba025aa483559af90e88e91ab4fd62304bb5c
diff --git a/include/asm-m68k/uaccess.h b/include/asm-m68k/uaccess.h
index a653bf8..2ffd87b 100644
--- a/include/asm-m68k/uaccess.h
+++ b/include/asm-m68k/uaccess.h
@@ -805,7 +805,7 @@ static inline long strnlen_user(const ch
{
long res;
- res = -(long)src;
+ res = -(unsigned long)src;
__asm__ __volatile__
("1:\n"
" tstl %2\n"
--
0.99.9.GIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-22 4:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22 4:52 [PATCH 36/36] m68k: cast in strnlen switched to unsigned long Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).