From eb383413c242546f266f9694071e0480806649b3 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 15 Jun 2000 20:56:25 +0000 Subject: Synced with libiberty in the gcc repository. --- libiberty/memcmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty/memcmp.c') diff --git a/libiberty/memcmp.c b/libiberty/memcmp.c index 127ae0c..0fd21ca 100644 --- a/libiberty/memcmp.c +++ b/libiberty/memcmp.c @@ -25,8 +25,8 @@ int DEFUN(memcmp, (str1, str2, count), const PTR str1 AND const PTR str2 AND size_t count) { - register unsigned char *s1 = (unsigned char*)str1; - register unsigned char *s2 = (unsigned char*)str2; + register const unsigned char *s1 = (const unsigned char*)str1; + register const unsigned char *s2 = (const unsigned char*)str2; while (count-- > 0) { -- cgit v1.1