projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c8bb7
)
(__builtin_new): Cast the result of malloc.
author
Richard Stallman
<rms@gnu.org>
Sun, 23 Aug 1992 07:20:15 +0000
(07:20 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 23 Aug 1992 07:20:15 +0000
(07:20 +0000)
From-SVN: r1935
gcc/libgcc2.c
patch
|
blob
|
history
diff --git
a/gcc/libgcc2.c
b/gcc/libgcc2.c
index 12756c0b090949ef5ee7f86e0bae5cd6a6d971f7..432cf93bd90a137d0e8f8e34f5df4b399b0b2478 100644
(file)
--- a/
gcc/libgcc2.c
+++ b/
gcc/libgcc2.c
@@
-1186,7
+1186,7
@@
__builtin_new (sz)
{
void *p;
- p = malloc (sz);
+ p =
(void *)
malloc (sz);
if (p == 0)
(*__new_handler) ();
return p;