(BODY to 8859-1): Add const to cast.
authordrepper <drepper>
Mon, 27 Nov 2000 17:47:19 +0000 (17:47 +0000)
committerdrepper <drepper>
Mon, 27 Nov 2000 17:47:19 +0000 (17:47 +0000)
iconvdata/iso8859-1.c

index bedc425..9e5007f 100644 (file)
@@ -45,7 +45,7 @@
 #define LOOPFCT                        TO_LOOP
 #define BODY \
   {                                                                          \
-    uint32_t ch = *((uint32_t *) inptr);                                     \
+    uint32_t ch = *((const uint32_t *) inptr);                               \
     if (__builtin_expect (ch, 0) > 0xff)                                     \
       {                                                                              \
        /* We have an illegal character.  */                                  \