summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 0c972f15da8..30565b3dca1 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -257,7 +257,7 @@ do { fprintf (asm_out_file, "\t.tag\t"); \
/* Set the sdb tag identifier string for TYPE to NAME. */
#define SET_KNOWN_TYPE_TAG(TYPE, NAME) \
- TYPE_SYMTAB_POINTER (TYPE) = (NAME)
+ TYPE_SYMTAB_POINTER (TYPE) = (char *)(NAME)
/* Return the name (a string) of the struct, union or enum tag
described by the TREE_LIST node LINK. This is 0 for an anonymous one. */