summaryrefslogtreecommitdiff
path: root/lib-src/fakemail.c
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
commit5391a863dc82d263f86c1b7586b7f5a16add5e6a (patch)
tree4fbb796c4a49c08bce9516899e85957720b8ca7e /lib-src/fakemail.c
parent0b40717e5b25946b555aba5aff377c6892fe91c6 (diff)
downloademacs-5391a863dc82d263f86c1b7586b7f5a16add5e6a.tar.gz
(xrealloc): Change cast to match return type.
Diffstat (limited to 'lib-src/fakemail.c')
-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;
}