diff options
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index 926827ace8d..c2c4634a8a2 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -1751,7 +1751,7 @@ java_get_line_col (filename, line, col) c = getc (fp); if (c == EOF) { - static char msg[] = "<<file too short - unexpected EOF>>"; + static const char msg[] = "<<file too short - unexpected EOF>>"; obstack_grow (&temporary_obstack, msg, sizeof(msg)-1); goto have_line; } |