mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
Formerly misc.c.~22~
This commit is contained in:
parent
f0c68224d6
commit
5c44db1b5f
1 changed files with 2 additions and 2 deletions
4
misc.c
4
misc.c
|
@ -308,7 +308,7 @@ char *
|
|||
xmalloc (size)
|
||||
unsigned int size;
|
||||
{
|
||||
char *result = malloc (size);
|
||||
char *result = (char *) malloc (size);
|
||||
if (result == 0)
|
||||
fatal ("virtual memory exhausted");
|
||||
return result;
|
||||
|
@ -320,7 +320,7 @@ xrealloc (ptr, size)
|
|||
char *ptr;
|
||||
unsigned int size;
|
||||
{
|
||||
char *result = realloc (ptr, size);
|
||||
char *result = (char *) realloc (ptr, size);
|
||||
if (result == 0)
|
||||
fatal ("virtual memory exhausted");
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue