summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 12:21:12 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 12:21:12 +0000
commit32d0edd1411d9d91b9da4a2a016de27a6777d27e (patch)
treea319f4c9d226f7605178c0f921ceb0a35175efa1 /gcc/c-lex.c
parentb4d48d675e7a3d7a30834741f83259da59c7cf82 (diff)
downloadgcc-32d0edd1411d9d91b9da4a2a016de27a6777d27e.tar.gz
* c-lex.c (cb_ident): Cast cstr.text to const char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69138 138bc75d-0d04-0410-961f-82ee72b054a4
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 f5733604a5a..034b3b608c8 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);
}
}