diff options
author | Tom Kistner <tom@duncanthrax.net> | 2009-11-09 14:31:24 +0000 |
---|---|---|
committer | Tom Kistner <tom@duncanthrax.net> | 2009-11-09 14:31:24 +0000 |
commit | 93f2d376d5dd2103ee412c708e612109b2336a78 (patch) | |
tree | f916eb88294825473f4266ba9363f93cf351d7b5 | |
parent | 6ab02e3ff7ada14165079ae4d2213e13d32bfad6 (diff) |
Make SUN compiler happy. Fixes #902
-rw-r--r-- | src/src/dkim.c | 4 | ||||
-rw-r--r-- | 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 |