summaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index 9383c27ccb9..9e15ab48f03 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -39,7 +39,8 @@ alloc_node (table)
{
cpp_hashnode *node;
- node = obstack_alloc (&table->pfile->hash_ob, sizeof (cpp_hashnode));
+ node = (cpp_hashnode *) obstack_alloc (&table->pfile->hash_ob,
+ sizeof (cpp_hashnode));
memset ((PTR) node, 0, sizeof (cpp_hashnode));
return node;
}