(__builtin_new): Cast the result of malloc.

From-SVN: r1935
This commit is contained in:
Richard Stallman 1992-08-23 07:20:15 +00:00
parent 72c8bb7f80
commit ecbe06a11f
1 changed files with 1 additions and 1 deletions

View File

@ -1186,7 +1186,7 @@ __builtin_new (sz)
{
void *p;
p = malloc (sz);
p = (void *) malloc (sz);
if (p == 0)
(*__new_handler) ();
return p;