changeset 11675:496576df5d46

(xmalloc): Declare it to return long *.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 May 1995 06:46:51 +0000
parents 754722efad75
children d67c2cc998d4
files lib-src/movemail.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/movemail.c	Thu May 04 06:46:37 1995 +0000
+++ b/lib-src/movemail.c	Thu May 04 06:46:51 1995 +0000
@@ -116,7 +116,7 @@
 void pfatal_with_name ();
 void pfatal_and_delete ();
 char *concat ();
-char *xmalloc ();
+long *xmalloc ();
 int popmail ();
 int pop_retr ();
 int mbx_write ();
@@ -430,11 +430,11 @@
 
 /* Like malloc but get fatal error if memory is exhausted.  */
 
-char *
+long *
 xmalloc (size)
      unsigned size;
 {
-  char *result = (char *) malloc (size);
+  long *result = (long *) malloc (size);
   if (!result)
     fatal ("virtual memory exhausted", 0);
   return result;