From: Joel Rosdahl Date: Wed, 24 Oct 2018 20:06:19 +0000 (+0200) Subject: Fix constness of struct stats_info message member X-Git-Tag: v3.5.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7295e5d0a2fcd0328f00f80ac044b75b9df80326;p=thirdparty%2Fccache.git Fix constness of struct stats_info message member --- diff --git a/src/stats.c b/src/stats.c index ef6a2914e..bfd79a8fd 100644 --- a/src/stats.c +++ b/src/stats.c @@ -51,7 +51,7 @@ static format_fn format_timestamp; // Statistics fields in display order. static struct { enum stats stat; - char *message; + const char *message; format_fn *format_fn; // NULL -> use plain integer format unsigned flags; } stats_info[] = {