(xmalloc): Fix previous change.
This commit is contained in:
parent
0a383cc772
commit
5f32a7128b
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ long *
|
|||
xmalloc (size)
|
||||
unsigned int size;
|
||||
{
|
||||
char *result = (char *) malloc (size);
|
||||
long *result = (long *) malloc (size);
|
||||
if (result == NULL)
|
||||
{
|
||||
perror ("malloc");
|
||||
|
|
Loading…
Add table
Reference in a new issue