# HG changeset patch # User Richard M. Stallman # Date 799570011 0 # Node ID 496576df5d46fb0dde7edf466f8d69b8e7773e5f # Parent 754722efad75062e90c76b6cc617df405b2b123e (xmalloc): Declare it to return long *. diff -r 754722efad75 -r 496576df5d46 lib-src/movemail.c --- 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;