X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lib-src%2Fmovemail.c;h=941ada90596c1daeb76bc3cc0c05144a6be9bc65;hp=12f180aabc12783bca5efcdb634dfdf6f44b5640;hb=716cfba952c1dc0d2cf5c968971f3780ba728a89;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2 diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 12f180a..941ada9 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -150,7 +150,7 @@ static long *xmalloc (unsigned int); #ifdef MAIL_USE_POP static int popmail (char *, char *, char *); static int pop_retr (popserver server, int msgno, - int (*action)(char *, FILE *), void *arg); + int (*action)(char *, FILE *), FILE *arg); static int mbx_write (char *, FILE *); static int mbx_delimit_begin (FILE *); static int mbx_delimit_end (FILE *); @@ -771,7 +771,7 @@ popmail (char *user, char *outfile, char *password) return (1); } #if !defined(__CYGWIN32__) && !defined(WINDOWSNT) - fchown (mbfi, getuid (), -1); + fchown (mbfi, getuid (), (gid_t) -1); #endif if ((mbf = fdopen (mbfi, "wb")) == NULL) @@ -863,7 +863,7 @@ popmail (char *user, char *outfile, char *password) } static int -pop_retr (popserver server, int msgno, int (*action)(char *, FILE *), void *arg) +pop_retr (popserver server, int msgno, int (*action)(char *, FILE *), FILE *arg) { char *line; int ret;