diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-06-15 20:56:25 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-06-15 20:56:25 +0000 |
commit | eb383413c242546f266f9694071e0480806649b3 (patch) | |
tree | 95b240bd0c181ac81463ba1f0e6b97f06e973638 /libiberty/memcmp.c | |
parent | b91280077a7ea882b26a1dfb84b1f314e84c6a86 (diff) | |
download | gdb-eb383413c242546f266f9694071e0480806649b3.zip gdb-eb383413c242546f266f9694071e0480806649b3.tar.gz gdb-eb383413c242546f266f9694071e0480806649b3.tar.bz2 |
Synced with libiberty in the gcc repository.
Diffstat (limited to 'libiberty/memcmp.c')
-rw-r--r-- | libiberty/memcmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |