]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 07:10:00 +0000 (07:10 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 07:10:00 +0000 (07:10 +0000)
* 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.

ChangeLog
locale/weight.h

index edf418150409ae9a1d4fd526789c7bd9ac5d76ef..b0a4c15858bd46ae8b1f8246af2c5de99d07aaf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6151faacea8a701d32655c403665bac484d670c5..f707b15a5007e81271bfd007eead7391daa8db2b 100644 (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