aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-04-01 10:35:44 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-04-01 10:35:44 +0000
commit781363cc71872ca5d22d696eddc8f9a26631c70a (patch)
treee984bad22d232e57d8f274e13a1d3be946f6c682 /transact.c
parent348f159689ee530a2d39349b6fa5e27111347e99 (diff)
downloadfetchmail-781363cc71872ca5d22d696eddc8f9a26631c70a.tar.gz
fetchmail-781363cc71872ca5d22d696eddc8f9a26631c70a.tar.bz2
fetchmail-781363cc71872ca5d22d696eddc8f9a26631c70a.zip
a few more type fixes for report/snprintf, patch by Miloslav Trmac.
svn path=/branches/BRANCH_6-3/; revision=4767
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transact.c b/transact.c
index 839cc181..66016d14 100644
--- a/transact.c
+++ b/transact.c
@@ -1164,7 +1164,7 @@ int readheaders(int sock,
saddr, sizeof(saddr), NULL, 0,
NI_NUMERICHOST);
if (e)
- snprintf(saddr, sizeof(saddr), "(%-.*s)", sizeof(saddr) - 3, gai_strerror(e));
+ snprintf(saddr, sizeof(saddr), "(%-.*s)", (int)(sizeof(saddr) - 3), gai_strerror(e));
snprintf(buf, sizeof(buf),
"Received: from %s [%s]\r\n",
ctl->server.truename, saddr);