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 /transact.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 'transact.c')
-rw-r--r-- | transact.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -446,7 +446,7 @@ int readheaders(int sock, { char *line, *rline; - line = xmalloc(sizeof(buf)); + line = (char *)xmalloc(sizeof(buf)); linelen = 0; line[0] = '\0'; do { @@ -807,7 +807,7 @@ int readheaders(int sock, if (!msgblk.headers) { oldlen = linelen; - msgblk.headers = xmalloc(oldlen + 1); + msgblk.headers = (char *)xmalloc(oldlen + 1); (void) memcpy(msgblk.headers, line, linelen); msgblk.headers[oldlen] = '\0'; free(line); @@ -1300,7 +1300,7 @@ int readheaders(int sock, if (idp->val.status.mark == XMIT_RCPTBAD) errlen += strlen(idp->id) + 2; - errmsg = xmalloc(errlen + 3); + errmsg = (char *)xmalloc(errlen + 3); strcpy(errmsg, errhd); for (idp = msgblk.recipients; idp; idp = idp->next) if (idp->val.status.mark == XMIT_RCPTBAD) |