]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix constness of struct stats_info message member
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 24 Oct 2018 20:06:19 +0000 (22:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 25 Oct 2018 19:26:37 +0000 (21:26 +0200)
src/stats.c

index ef6a2914ede5a49ab43a4ea54c8035119a1e24a3..bfd79a8fd1529b69e900f4390c77c70a5654063a 100644 (file)
@@ -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[] = {