]> git.refcnt.org Git - colorize.git/commitdiff
Const data
authorSteven Schubiger <stsc@refcnt.org>
Sat, 18 Mar 2017 23:00:27 +0000 (00:00 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Sat, 18 Mar 2017 23:00:27 +0000 (00:00 +0100)
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')
               {