aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 9c65474..6cb76f0 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4677,7 +4677,7 @@ type_hash_add (hashval_t hashcode, tree type)
h->hash = hashcode;
h->type = type;
loc = htab_find_slot_with_hash (type_hash_table, h, hashcode, INSERT);
- *(struct type_hash **) loc = h;
+ *loc = (void*)h;
}
/* Given TYPE, and HASHCODE its hash code, return the canonical