]> Pileus Git - ~andy/fetchmail/commitdiff
Cast printf %*s argument to int.
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 4 May 2009 22:11:10 +0000 (22:11 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Mon, 4 May 2009 22:11:10 +0000 (22:11 -0000)
svn path=/branches/BRANCH_6-3/; revision=5293

rfc822.c

index 345ced020c1ca18bc867ff9183e557c33800aba4..efa92f9c32ebb294cbfbb1596bfbb9e8b20b2b33 100644 (file)
--- 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 */