aboutsummaryrefslogtreecommitdiff
path: root/gcc/hashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hashtable.c')
-rw-r--r--gcc/hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/hashtable.c b/gcc/hashtable.c
index b3f6404ba33..86898f38850 100644
--- a/gcc/hashtable.c
+++ b/gcc/hashtable.c
@@ -127,7 +127,7 @@ ht_lookup (table, str, len, insert)
if (insert == HT_ALLOCED)
/* The string we search for was placed at the end of the
obstack. Release it. */
- obstack_free (&table->stack, (PTR) str);
+ obstack_free (&table->stack, (void *) str);
return node;
}
@@ -203,7 +203,7 @@ void
ht_forall (table, cb, v)
hash_table *table;
ht_cb cb;
- const PTR v;
+ const void *v;
{
hashnode *p, *limit;