]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
Const data
[colorize.git] / colorize.c
index 7faeb8008392459b9d32381445212854d2b2a2fa..ca62d7db24c1bc1178859444995b9352c14e1d5f 100644 (file)
@@ -785,7 +785,7 @@ read_print_stream (bool bold, const struct color **colors, const char *file, FIL
         line = buf;
         while ((eol = strpbrk (line, "\n\r")))
           {
-            char *p;
+            const char *p;
             flags &= ~(CR|LF);
             if (*eol == '\r')
               {