Commit f278806b by Neil Booth Committed by Neil Booth

* cpphash.c (alloc_node): Cast pointer.

From-SVN: r42720
parent 42a9e4e4
2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
* cpphash.c (alloc_node): Cast allocated pointer.
2001-05-30 Gordon Sadler <gbsadler1@lcisp.com>
* invoke.texi (Option Summary): Remove -isystem-c++ from options.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment