(xrealloc): Change cast to match return type.

This commit is contained in:
Karl Heuer 1995-08-12 18:15:28 +00:00
parent 0b40717e5b
commit 5391a863dc

View file

@ -182,7 +182,7 @@ xrealloc (ptr, size)
int size;
{
long *result = (long *) realloc (ptr, ((unsigned) size));
if (result == ((char *) NULL))
if (result == ((long *) NULL))
fatal ("virtual memory exhausted");
return result;
}