diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/c-lex.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00ab6ca..a90d451 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * c-lex.c (cb_ident): Cast cstr.text to const char *. + 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> * gcov-io.h: Update documentation. diff --git a/gcc/c-lex.c b/gcc/c-lex.c index f573360..034b3b6 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -184,7 +184,7 @@ cb_ident (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_string cstr = { 0, 0 }; if (cpp_interpret_string (pfile, str, 1, &cstr, false)) { - ASM_OUTPUT_IDENT (asm_out_file, cstr.text); + ASM_OUTPUT_IDENT (asm_out_file, (const char *) cstr.text); free ((void *)cstr.text); } } |
