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 /fetchmail.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 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index bf88b4dd..e7f48668 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -532,7 +532,7 @@ int main(int argc, char **argv) const char* password_prompt = GT_("Enter password for %s@%s: "); size_t pplen = strlen(password_prompt) + strlen(ctl->remotename) + strlen(ctl->server.pollname) + 1; - tmpbuf = xmalloc(pplen); + tmpbuf = (char *)xmalloc(pplen); snprintf(tmpbuf, pplen, password_prompt, ctl->remotename, ctl->server.pollname); ctl->password = xstrdup((char *)fm_getpassword(tmpbuf)); |