summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2017-01-22 18:30:51 +0100
committerWill Estes <westes575@gmail.com>2017-01-23 13:32:40 -0500
commit1a9468797d6ed418beb313a0e3ff18b8e886dde5 (patch)
treeee6e0ae12fe6b50457865b2189b4634673aa52fc /src
parent43a5bebd7d924d2a51133a11d992ccf752fa8843 (diff)
scanner: Use array instead of pointer
Diffstat (limited to 'src')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
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;