From: Al Viro Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton --- include/asm-m68k/uaccess.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-m68k/uaccess.h~m68k-cast-in-strnlen-switched-to-unsigned-long include/asm-m68k/uaccess.h --- devel/include/asm-m68k/uaccess.h~m68k-cast-in-strnlen-switched-to-unsigned-long 2006-01-04 22:24:49.000000000 -0800 +++ devel-akpm/include/asm-m68k/uaccess.h 2006-01-04 22:24:49.000000000 -0800 @@ -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" _