Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-03-06 23:40:05 +0300
committerJeff Johnston <jjohnstn@redhat.com>2005-03-06 23:40:05 +0300
commit9d385fb06d0da10616c4e50873bd52456bade652 (patch)
tree14968f5178bf2607eb3b162e492d2d5cc0df365e /newlib/libc/string
parent2e7d9bf906c37584962e7d89b6de55c1fec9eeb3 (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
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--)