From: Tom Kistner Date: Mon, 9 Nov 2009 14:31:24 +0000 (+0000) Subject: Make SUN compiler happy. Fixes #902 X-Git-Tag: exim-4_70_RC4~1 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/93f2d376d5dd2103ee412c708e612109b2336a78?ds=sidebyside;hp=6ab02e3ff7ada14165079ae4d2213e13d32bfad6 Make SUN compiler happy. Fixes #902 --- diff --git a/src/src/dkim.c b/src/src/dkim.c index eff59df0b..bcf12ce1e 100644 --- a/src/src/dkim.c +++ b/src/src/dkim.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/dkim.c,v 1.7 2009/10/15 15:44:51 tom Exp $ */ +/* $Cambridge: exim/src/src/dkim.c,v 1.8 2009/11/09 14:31:24 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -525,6 +525,6 @@ uschar *dkim_exim_sign(int dkim_fd, store_pool = old_pool; errno = save_errno; return rc; -}; +} #endif diff --git a/src/src/mime.c b/src/src/mime.c index cc8a337ae..7b3ec2580 100644 --- a/src/src/mime.c +++ b/src/src/mime.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/mime.c,v 1.17 2009/11/07 17:17:15 nm4 Exp $ */ +/* $Cambridge: exim/src/src/mime.c,v 1.18 2009/11/09 14:31:24 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -106,7 +106,7 @@ static int mime_decode_base64(FILE* in, FILE* out, uschar* boundary) opos = obuf; - while (fgets(ibuf, MIME_MAX_LINE_LENGTH, in) != NULL) + while (fgets((char *)ibuf, MIME_MAX_LINE_LENGTH, in) != NULL) { if (boundary != NULL && Ustrncmp(ibuf, "--", 2) == 0