aboutsummaryrefslogtreecommitdiffstats
path: root/rfc822.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-03 18:10:14 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-03 18:10:14 +0000
commita92c8c212e2f1e014166cfb84751ea052035599e (patch)
tree91a539bcdf1828d97514f63aebbe42ec9679f6b4 /rfc822.c
parent3df8580c347d80739ef27011b0732c4514b814c3 (diff)
downloadfetchmail-a92c8c212e2f1e014166cfb84751ea052035599e.tar.gz
fetchmail-a92c8c212e2f1e014166cfb84751ea052035599e.tar.bz2
fetchmail-a92c8c212e2f1e014166cfb84751ea052035599e.zip
Fix reply_hack() type of third argument (int vs. size_t), by Miloslav Trmac.
svn path=/trunk/; revision=4069
Diffstat (limited to 'rfc822.c')
-rw-r--r--rfc822.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc822.c b/rfc822.c
index 25d193b7..5e335616 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -44,7 +44,7 @@ char *program_name = "rfc822";
unsigned char *reply_hack(
unsigned char *buf /* header to be hacked */,
const unsigned char *host /* server hostname */,
- int *length)
+ size_t *length)
/* hack message headers so replies will work properly */
{
unsigned char *from, *cp, last_nws = '\0', *parens_from = NULL;
@@ -393,7 +393,7 @@ unsigned char *nxtaddr(const unsigned char *hdr /* header to be parsed, NUL to c
static void parsebuf(unsigned char *longbuf, int reply)
{
unsigned char *cp;
- int dummy;
+ size_t dummy;
if (reply)
{