Mercurial > hg > xemacs-beta
diff lib-src/movemail.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 4a2749e56f92 |
children | 943eaba38521 |
line wrap: on
line diff
--- a/lib-src/movemail.c Wed Aug 08 12:15:04 2001 +0000 +++ b/lib-src/movemail.c Mon Aug 13 04:46:48 2001 +0000 @@ -142,7 +142,7 @@ static void pfatal_with_name (char *); static void pfatal_and_delete (char *); static char *concat (char *, char *, char *); -static long *xmalloc (unsigned int); +static long *xmalloc (int); #ifdef MAIL_USE_POP static int popmail (char *, char *, char *); static int pop_retr (popserver server, int msgno, @@ -440,7 +440,7 @@ errno = saved_errno; pfatal_with_name (outname); } - if (nread < sizeof buf) + if (nread < (int) sizeof (buf)) break; } } @@ -699,7 +699,7 @@ /* Like malloc but get fatal error if memory is exhausted. */ static long * -xmalloc (unsigned int size) +xmalloc (int size) { long *result = (long *) malloc (size); if (!result)