* c-lex.c (cb_ident): Cast cstr.text to const char *.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Wed, 9 Jul 2003 12:21:12 +0000 (12:21 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 9 Jul 2003 12:21:12 +0000 (12:21 +0000)
From-SVN: r69138

gcc/ChangeLog
gcc/c-lex.c

index 00ab6ca830733c743ee33a03d336465e68153e46..a90d4515fbb7b01f2c6bb44a3e5c673c23bc20ea 100644 (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.
index f5733604a5a17ee2cca0472a3f09eed318942720..034b3b608c82487beab19ee96825e9384a224936 100644 (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);
        }
     }