* c-lex.c (cb_ident): Cast cstr.text to const char *.

From-SVN: r69138
This commit is contained in:
Rainer Orth 2003-07-09 12:21:12 +00:00 committed by Rainer Orth
parent 160e2e4f23
commit d0974745a1
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);
}
}