(findidx): Add const to cast to avoid warning.
authordrepper <drepper>
Sun, 26 Nov 2000 06:55:32 +0000 (06:55 +0000)
committerdrepper <drepper>
Sun, 26 Nov 2000 06:55:32 +0000 (06:55 +0000)
locale/weight.h

index 6151faa..f707b15 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