summaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index 77bf9c07439..018085a8346 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -42,7 +42,7 @@ alloc_node (table)
node = (cpp_hashnode *) obstack_alloc (&table->pfile->hash_ob,
sizeof (cpp_hashnode));
- memset ((PTR) node, 0, sizeof (cpp_hashnode));
+ memset (node, 0, sizeof (cpp_hashnode));
return node;
}
@@ -123,7 +123,7 @@ void
cpp_forall_identifiers (pfile, cb, v)
cpp_reader *pfile;
cpp_cb cb;
- PTR v;
+ void *v;
{
/* We don't need a proxy since the hash table's identifier comes
first in cpp_hashnode. */