summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/symtab.c b/src/symtab.c
index 9280915e..7b313120 100644
--- a/src/symtab.c
+++ b/src/symtab.c
@@ -421,7 +421,7 @@ symbol_get (const char *key, location_t location)
/* Keep the symbol in a printable form. */
key = quotearg_style (escape_quoting_style, key);
- (const char *) probe.tag = key;
+ *(char const **) &probe.tag = key;
entry = hash_lookup (symbol_table, &probe);
if (!entry)