Messages in this thread Patch in this message | | | Subject | [PATCH 34/41] m68k: cast in strnlen switched to unsigned long | From | Al Viro <> | Date | Tue, 03 Jan 2006 23:29:15 +0000 |
| |
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(-)
db2c42670cf6d3dcab286b15d4947de579a34172 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |