From: Karl Heuer Date: Sat, 12 Aug 1995 18:15:28 +0000 (+0000) Subject: (xrealloc): Change cast to match return type. X-Git-Tag: emacs-19.34~3020 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5391a863dc82d263f86c1b7586b7f5a16add5e6a;p=emacs.git (xrealloc): Change cast to match return type. --- 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; }