From 7ff1619df0d9c4fc58119bd23e8e6904679db8b6 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 11 Jan 2006 10:51:28 +0000 Subject: Fix a few compiler warnings through casts. Make MD5Update argument const. svn path=/branches/BRANCH_6-3/; revision=4621 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 320d1056..a807b6e4 100644 --- a/driver.c +++ b/driver.c @@ -358,7 +358,7 @@ static void send_size_warnings(struct query *ctl) if (current->val.status.num == 0 && current->val.status.mark) { nbr = current->val.status.mark; - size = atoi(current->id); + size = atoi((const char *)current->id); if (ctl->limitflush) stuff_warning(NULL, ctl, GT_(" %d msg %d octets long deleted by fetchmail."), @@ -1304,7 +1304,7 @@ is restored.")); /* compute # of messages and number of new messages waiting */ stage = STAGE_GETRANGE; - err = (ctl->server.base_protocol->getrange)(mailserver_socket, ctl, idp->id, &count, &new, &bytes); + err = (ctl->server.base_protocol->getrange)(mailserver_socket, ctl, (const char *)idp->id, &count, &new, &bytes); if (err != 0) goto cleanUp; -- cgit v1.2.3