projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b564cf2
)
(__builtin_new): Cast the result of malloc.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Aug 1992 07:20:15 +0000
(07:20 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Aug 1992 07:20:15 +0000
(07:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1935
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/libgcc2.c
patch
|
blob
|
history
diff --git
a/gcc/libgcc2.c
b/gcc/libgcc2.c
index
12756c0
..
432cf93
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;