diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-05-04 06:46:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-05-04 06:46:51 +0000 |
commit | 2583d6d741589e8bb2a5935247a3b0aa76f3893d (patch) | |
tree | 074b9d005602417281b405399dbcb6b3cf4df867 /lib-src/movemail.c | |
parent | 0404b62c850bf34f17eeb3ed1b09e77ccd81fa03 (diff) | |
download | emacs-2583d6d741589e8bb2a5935247a3b0aa76f3893d.tar.gz |
(xmalloc): Declare it to return long *.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r-- | lib-src/movemail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index ce36dfdb656..36a837e9310 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -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; |