]> git.eshelyaron.com Git - emacs.git/commitdiff
(xmalloc): Declare it to return long *.
authorRichard M. Stallman <rms@gnu.org>
Thu, 4 May 1995 06:46:51 +0000 (06:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 4 May 1995 06:46:51 +0000 (06:46 +0000)
lib-src/movemail.c

index ce36dfdb656245caa8bfbad8e5c5da79e5fb6c65..36a837e9310a87cf9e0264909ac2fa1959e23782 100644 (file)
@@ -116,7 +116,7 @@ void error ();
 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 @@ concat (s1, s2, s3)
 
 /* 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;