From f0e9ceed3d75bac6c983871a6dce3b7f50118621 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 4 May 2009 22:11:10 +0000 Subject: Cast printf %*s argument to int. svn path=/branches/BRANCH_6-3/; revision=5293 --- rfc822.c | 4 ++-- 1 file 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 */ -- cgit v1.2.3