From 93f2d376d5dd2103ee412c708e612109b2336a78 Mon Sep 17 00:00:00 2001 From: Tom Kistner Date: Mon, 9 Nov 2009 14:31:24 +0000 Subject: [PATCH] Make SUN compiler happy. Fixes #902 --- src/src/dkim.c | 4 ++-- src/src/mime.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.25.1