diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-01-11 10:51:28 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-01-11 10:51:28 +0000 |
commit | 7ff1619df0d9c4fc58119bd23e8e6904679db8b6 (patch) | |
tree | 40990bea5032b5330125ece444a854efa5ac1f56 /driver.c | |
parent | fa8953f9f0852d1bc9baaee927500a98998fb97b (diff) | |
download | fetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.tar.gz fetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.tar.bz2 fetchmail-7ff1619df0d9c4fc58119bd23e8e6904679db8b6.zip |
Fix a few compiler warnings through casts.
Make MD5Update argument const.
svn path=/branches/BRANCH_6-3/; revision=4621
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |