2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>

* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
This commit is contained in:
Jeff Johnston 2005-03-06 20:40:05 +00:00
parent 2e7d9bf906
commit 9d385fb06d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
* libc/include/machine/_types.h: New file.

View File

@ -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--)