summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}