diff options
author | Christos Zoulas <christos@zoulas.com> | 2017-01-22 18:30:51 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2017-01-23 13:32:40 -0500 |
commit | 1a9468797d6ed418beb313a0e3ff18b8e886dde5 (patch) | |
tree | ee6e0ae12fe6b50457865b2189b4634673aa52fc /src | |
parent | 43a5bebd7d924d2a51133a11d992ccf752fa8843 (diff) |
scanner: Use array instead of pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |