X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=blobdiff_plain;f=colorize.c;h=ca62d7db24c1bc1178859444995b9352c14e1d5f;hp=7faeb8008392459b9d32381445212854d2b2a2fa;hb=2ac435db38e69845565514b9a43eddcdc3134256;hpb=f340b5874461fd2405ad4def6a365c89b45efbae diff --git a/colorize.c b/colorize.c index 7faeb80..ca62d7d 100644 --- a/colorize.c +++ b/colorize.c @@ -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') {