summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-08-12 18:15:28 +0000
committerKarl Heuer <kwzh@gnu.org>1995-08-12 18:15:28 +0000
commit6512da4d2d831c8c3c0a5ffc98491d53ccee5e57 (patch)
tree687e886ee98b3c0f8853969989529d27651dfd10 /lib-src
parentf8314b60239868f774aee028ba0066e9dc542110 (diff)
downloademacs-6512da4d2d831c8c3c0a5ffc98491d53ccee5e57.tar.gz
(xrealloc): Change cast to match return type.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/fakemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
index 4a2618ad5ce..6e0cca22e58 100644
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -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;
}