Commit ecbe06a1 by Richard Stallman

(__builtin_new): Cast the result of malloc.

From-SVN: r1935
parent 72c8bb7f
......@@ -1186,7 +1186,7 @@ __builtin_new (sz)
{
void *p;
p = malloc (sz);
p = (void *) malloc (sz);
if (p == 0)
(*__new_handler) ();
return p;
......
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