Mercurial > emacs
diff lib-src/movemail.c @ 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 | f70663b67154 |
children | e93b5c05c949 |
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;