changeset 12840:4e9a14304b8b

(xrealloc): Change cast to match return type.
author Karl Heuer <kwzh@gnu.org>
date Sat, 12 Aug 1995 18:15:28 +0000
parents 40a12a81cc06
children 639f9d12f0f8
files lib-src/fakemail.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Sat Aug 12 09:23:54 1995 +0000
+++ b/lib-src/fakemail.c	Sat Aug 12 18:15:28 1995 +0000
@@ -182,7 +182,7 @@
      int size;
 {
   long *result = (long *) realloc (ptr, ((unsigned) size));
-  if (result == ((char *) NULL))
+  if (result == ((long *) NULL))
     fatal ("virtual memory exhausted");
   return result;
 }