aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2017-03-19 00:00:27 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2017-03-19 00:00:27 +0100
commit2ac435db38e69845565514b9a43eddcdc3134256 (patch)
treea6935ffa24942c450c76ad813d51217d6520751f /colorize.c
parentf340b5874461fd2405ad4def6a365c89b45efbae (diff)
downloadcolorize-2ac435db38e69845565514b9a43eddcdc3134256.tar.gz
colorize-2ac435db38e69845565514b9a43eddcdc3134256.tar.bz2
Const data
Diffstat (limited to 'colorize.c')
-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')
{