aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
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')
{