From 9d385fb06d0da10616c4e50873bd52456bade652 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Sun, 6 Mar 2005 20:40:05 +0000 Subject: 2005-03-06 Ralf Corsepious * libc/string/memcmp.c: Fix to avoid pointer signedness warning. --- newlib/libc/string/memcmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/string/memcmp.c') diff --git a/newlib/libc/string/memcmp.c b/newlib/libc/string/memcmp.c index ac7a194a6..4a871fa60 100644 --- a/newlib/libc/string/memcmp.c +++ b/newlib/libc/string/memcmp.c @@ -95,8 +95,8 @@ _DEFUN (memcmp, (m1, m2, n), /* check m mod LBLOCKSIZE remaining characters */ - s1 = (char*)a1; - s2 = (char*)a2; + s1 = (unsigned char*)a1; + s2 = (unsigned char*)a2; } while (n--) -- cgit v1.2.3