From: Steven Schubiger Date: Fri, 20 May 2016 19:56:28 +0000 (+0200) Subject: Const pointer X-Git-Tag: v0.59~7 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=4c63e4c28c80a7b1528d67793585b499a4008be8 Const pointer --- diff --git a/colorize.c b/colorize.c index 938bdd6..5f64ce7 100644 --- a/colorize.c +++ b/colorize.c @@ -1075,7 +1075,7 @@ gather_esc_offsets (const char *p, const char **start, const char **end) if (*p == 27 && *(p + 1) == '[') { bool valid = false; - const char *begin = p; + const char *const begin = p; p += 2; if (clean_all) valid = validate_esc_clean_all (&p);