diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-03-06 20:40:05 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-03-06 20:40:05 +0000 |
commit | 9d385fb06d0da10616c4e50873bd52456bade652 (patch) | |
tree | 14968f5178bf2607eb3b162e492d2d5cc0df365e /newlib/libc/string | |
parent | 2e7d9bf906c37584962e7d89b6de55c1fec9eeb3 (diff) | |
download | newlib-9d385fb06d0da10616c4e50873bd52456bade652.zip newlib-9d385fb06d0da10616c4e50873bd52456bade652.tar.gz newlib-9d385fb06d0da10616c4e50873bd52456bade652.tar.bz2 |
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
Diffstat (limited to 'newlib/libc/string')
-rw-r--r-- | newlib/libc/string/memcmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/string/memcmp.c b/newlib/libc/string/memcmp.c index ac7a194..4a871fa 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--) |