Commit d0974745 by Rainer Orth Committed by Rainer Orth

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

From-SVN: r69138
parent 160e2e4f
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> 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
* gcov-io.h: Update documentation. * gcov-io.h: Update documentation.
......
...@@ -184,7 +184,7 @@ cb_ident (cpp_reader *pfile ATTRIBUTE_UNUSED, ...@@ -184,7 +184,7 @@ cb_ident (cpp_reader *pfile ATTRIBUTE_UNUSED,
cpp_string cstr = { 0, 0 }; cpp_string cstr = { 0, 0 };
if (cpp_interpret_string (pfile, str, 1, &cstr, false)) 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); free ((void *)cstr.text);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment