Commit 5391a863 authored by Karl Heuer's avatar Karl Heuer

(xrealloc): Change cast to match return type.

parent 0b40717e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment