aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */