about summary refs log tree commit diff
path: root/locale/weight.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/weight.h')
-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