From 1a9468797d6ed418beb313a0e3ff18b8e886dde5 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 22 Jan 2017 18:30:51 +0100 Subject: scanner: Use array instead of pointer --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/misc.c b/src/misc.c index e7f58b5..6eee161 100644 --- a/src/misc.c +++ b/src/misc.c @@ -347,7 +347,7 @@ void line_directive_out (FILE *output_file, int do_infile) { char directive[MAXLINE], filename[MAXLINE]; char *s1, *s2, *s3; - static const char *line_fmt = "#line %d \"%s\"\n"; + static const char line_fmt[] = "#line %d \"%s\"\n"; if (!gen_line_dirs) return; -- cgit v1.2.3