* string/strcoll.c: Add casts to avoid warnings.
	* string/strnlen.c: Likewise.
	* string/strxfrm.c: Likewise.
	* sysdeps/generic/_strerror.c: Likewise.
	* sysdeps/generic/memrchr.c: Likewise.
	* sysdeps/generic/strcasestr.c: Likewise.
	* sysdeps/generic/strstr.c: Likewise.

	* locale/weight.h (findidx): Add const to cast to avoid warning.
This commit is contained in:
Ulrich Drepper 2000-11-26 07:10:00 +00:00
parent a850e77f3f
commit 8b6e67674d
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,15 @@
2000-11-25 Ulrich Drepper <drepper@redhat.com>
* string/strcoll.c: Add casts to avoid warnings.
* string/strnlen.c: Likewise.
* string/strxfrm.c: Likewise.
* sysdeps/generic/_strerror.c: Likewise.
* sysdeps/generic/memrchr.c: Likewise.
* sysdeps/generic/strcasestr.c: Likewise.
* sysdeps/generic/strstr.c: Likewise.
* locale/weight.h (findidx): Add const to cast to avoid warning.
* elf/loadfail.c: Little cosmetic changes to avoid warnings.
* elf/loadtest.c: Likewise.
* elf/multiload.c: Likewise.

View File

@ -38,7 +38,7 @@ findidx (const unsigned char **cpp)
size_t nhere;
/* The first thing is the index. */
i = *((int32_t *) cp);
i = *((const int32_t *) cp);
cp += sizeof (int32_t);
/* Next is the length of the byte sequence. These are always