From 5391a863dc82d263f86c1b7586b7f5a16add5e6a Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sat, 12 Aug 1995 18:15:28 +0000 Subject: [PATCH] (xrealloc): Change cast to match return type. --- lib-src/fakemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2