From af7d73c7ab76ad81fed78b7f5c024daf1af87d9d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 14 Jan 2009 01:56:15 +0000 Subject: Fix a few compiler warnings around implicit conversion or extra ";". svn path=/branches/BRANCH_6-3/; revision=5261 --- sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index 47a40427..09e9e7e3 100644 --- a/sink.c +++ b/sink.c @@ -1155,7 +1155,7 @@ static int open_mda_sink(struct query *ctl, struct msgblk *msg, sp += 2; } - after = xmalloc(length + 1); + after = (char *)xmalloc(length + 1); /* copy mda source string to after, while expanding %[sTF] */ for (dp = after, sp = before; (*dp = *sp); dp++, sp++) { -- cgit v1.2.3