aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-01-11 10:51:28 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-01-11 10:51:28 +0000
commit7ff1619df0d9c4fc58119bd23e8e6904679db8b6 (patch)
tree40990bea5032b5330125ece444a854efa5ac1f56 /odmr.c
parentfa8953f9f0852d1bc9baaee927500a98998fb97b (diff)
downloadfetchmail-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 'odmr.c')
-rw-r--r--odmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/odmr.c b/odmr.c
index 18ef2e63..e1fce32d 100644
--- a/odmr.c
+++ b/odmr.c
@@ -80,11 +80,11 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id,
*/
buf[0] = '\0';
for (qnp = ctl->domainlist; qnp; qnp = qnp->next)
- if (strlen(buf) + strlen(qnp->id) + 1 >= sizeof(buf))
+ if (strlen(buf) + strlen((const char *)qnp->id) + 1 >= sizeof(buf))
break;
else
{
- strcat(buf, qnp->id);
+ strcat(buf, (const char *)qnp->id);
strcat(buf, ",");
}
buf[strlen(buf) - 1] = '\0'; /* nuke final comma */