aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-09 12:21:12 +0000
committerRainer Orth <ro@gcc.gnu.org>2003-07-09 12:21:12 +0000
commitd0974745a1f7e25d9aaebc632116faa1ccf92ca3 (patch)
treea319f4c9d226f7605178c0f921ceb0a35175efa1 /gcc/c-lex.c
parent160e2e4f2361da06d8cd73afea7b527b29d4c6a7 (diff)
downloadgcc-d0974745a1f7e25d9aaebc632116faa1ccf92ca3.zip
gcc-d0974745a1f7e25d9aaebc632116faa1ccf92ca3.tar.gz
gcc-d0974745a1f7e25d9aaebc632116faa1ccf92ca3.tar.bz2
* c-lex.c (cb_ident): Cast cstr.text to const char *.
From-SVN: r69138
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}