From a58c1b216bb1d4547f7b2ef2703fe2d0cd3b5cac Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 1 Oct 2017 14:45:12 +0100 Subject: Make the code base clean under -Wwrite-strings. I've also added that warning option and -Werror to the build script, so that I'll find out if I break this property in future. --- filling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filling.c') diff --git a/filling.c b/filling.c index 6f775f4..7e71eb2 100644 --- a/filling.c +++ b/filling.c @@ -68,7 +68,7 @@ static unsigned char verbose; -static void printv(char *fmt, ...) { +static void printv(const char *fmt, ...) { #ifndef PALM if (verbose) { va_list va; -- cgit v1.1