2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
This commit is contained in:
parent
2e7d9bf906
commit
9d385fb06d
|
@ -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>
|
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libc/include/machine/_types.h: New file.
|
* libc/include/machine/_types.h: New file.
|
||||||
|
|
|
@ -95,8 +95,8 @@ _DEFUN (memcmp, (m1, m2, n),
|
||||||
|
|
||||||
/* check m mod LBLOCKSIZE remaining characters */
|
/* check m mod LBLOCKSIZE remaining characters */
|
||||||
|
|
||||||
s1 = (char*)a1;
|
s1 = (unsigned char*)a1;
|
||||||
s2 = (char*)a2;
|
s2 = (unsigned char*)a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (n--)
|
while (n--)
|
||||||
|
|
Loading…
Reference in New Issue