fnmatch: avoid compiler warning
[gnulib.git] / lib / fnmatch_loop.c
index 1fb246f..8334491 100644 (file)
@@ -200,8 +200,8 @@ FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end,
         case L_('['):
           {
             /* Nonzero if the sense of the character class is inverted.  */
-            CHAR *p_init = p;
-            CHAR *n_init = n;
+            const CHAR *p_init = p;
+            const CHAR *n_init = n;
             register bool not;
             CHAR cold;
             UCHAR fn;