aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-04 22:11:10 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-04 22:11:10 +0000
commitf0e9ceed3d75bac6c983871a6dce3b7f50118621 (patch)
treedfbc31f584131f52b459718849d0a3b6eeba9ea5
parent4143cf285cce27e7737c1af3d841b3b2473e7b4e (diff)
downloadfetchmail-f0e9ceed3d75bac6c983871a6dce3b7f50118621.tar.gz
fetchmail-f0e9ceed3d75bac6c983871a6dce3b7f50118621.tar.bz2
fetchmail-f0e9ceed3d75bac6c983871a6dce3b7f50118621.zip
Cast printf %*s argument to int.
svn path=/branches/BRANCH_6-3/; revision=5293
-rw-r--r--rfc822.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfc822.c b/rfc822.c
index 345ced02..efa92f9c 100644
--- a/rfc822.c
+++ b/rfc822.c
@@ -96,7 +96,7 @@ char *reply_hack(
if (verbose)
{
printf("state %d: %s", state, buf);
- printf("%*s^\n", from - buf + 10, " ");
+ printf("%*s^\n", (int)(from - buf + 10), " ");
}
#endif /* MAIN */
if (state != 2)
@@ -253,7 +253,7 @@ char *nxtaddr(const char *hdr /* header to be parsed, NUL to continue previous h
if (verbose)
{
printf("state %d: %s", state, orighdr);
- printf("%*s^\n", hp - orighdr + 10, " ");
+ printf("%*s^\n", (int)(hp - orighdr + 10), " ");
}
#endif /* MAIN */