aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-26 07:10:00 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-26 07:10:00 +0000
commit8b6e67674da3b9db3208b914bd8d892abb62ec48 (patch)
tree3be9a9ab1ce0b43421603160259b65dfa99fe6cb /locale
parenta850e77f3f10ce5cac3cc708274cc2a39360faa6 (diff)
downloadglibc-8b6e67674da3b9db3208b914bd8d892abb62ec48.tar
glibc-8b6e67674da3b9db3208b914bd8d892abb62ec48.tar.gz
glibc-8b6e67674da3b9db3208b914bd8d892abb62ec48.tar.bz2
glibc-8b6e67674da3b9db3208b914bd8d892abb62ec48.zip
Update.
* 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.
Diffstat (limited to 'locale')
-rw-r--r--locale/weight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/weight.h b/locale/weight.h
index 6151faacea..f707b15a50 100644
--- a/locale/weight.h
+++ b/locale/weight.h
@@ -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