mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
* alloca.c (alloca): Cast value returned by malloc. (Thanks to
Christian Lynbech.)
This commit is contained in:
parent
65a5dccbcc
commit
a0a06f4101
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue