summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/memcmp.c')
-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--)