From: Rainer Orth Date: Wed, 9 Jul 2003 12:21:12 +0000 (+0000) Subject: * c-lex.c (cb_ident): Cast cstr.text to const char *. X-Git-Tag: releases/gcc-3.4.0~5010 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0974745a1f7e25d9aaebc632116faa1ccf92ca3;p=thirdparty%2Fgcc.git * c-lex.c (cb_ident): Cast cstr.text to const char *. From-SVN: r69138 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00ab6ca83073..a90d4515fbb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-07-09 Rainer Orth + + * c-lex.c (cb_ident): Cast cstr.text to const char *. + 2003-07-09 Nathan Sidwell * gcov-io.h: Update documentation. diff --git a/gcc/c-lex.c b/gcc/c-lex.c index f5733604a5a1..034b3b608c82 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); } }