1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 05:50:26 +02:00

* alloca.c (alloca): Cast value returned by malloc. (Thanks to

Christian Lynbech.)
This commit is contained in:
Jim Blandy 1999-01-11 08:06:18 +00:00
parent 65a5dccbcc
commit a0a06f4101

View file

@ -200,7 +200,7 @@ alloca (size)
/* Allocate combined header + user data storage. */ /* Allocate combined header + user data storage. */
{ {
register pointer new = malloc (sizeof (header) + size); register pointer new = (pointer) malloc (sizeof (header) + size);
/* Address of header. */ /* Address of header. */
if (new == 0) if (new == 0)