diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2009-01-14 01:56:15 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2009-01-14 01:56:15 +0000 |
commit | af7d73c7ab76ad81fed78b7f5c024daf1af87d9d (patch) | |
tree | 9edb72176a3491b5d10e48b9570aca071fdba731 /imap.c | |
parent | a804c2b676aa9629bea657e78d5e6803b85228cc (diff) | |
download | fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.gz fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.bz2 fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.zip |
Fix a few compiler warnings around implicit conversion or extra ";".
svn path=/branches/BRANCH_6-3/; revision=5261
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -617,8 +617,8 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) size_t rnl, pwl; rnl = 2 * strlen(ctl->remotename) + 1; pwl = 2 * strlen(ctl->password) + 1; - remotename = xmalloc(rnl); - password = xmalloc(pwl); + remotename = (char *)xmalloc(rnl); + password = (char *)xmalloc(pwl); imap_canonicalize(remotename, ctl->remotename, rnl); imap_canonicalize(password, ctl->password, pwl); |