openbsd-ports/mail/mutt/stable/patches/patch-mbox_c
2001-08-20 19:47:33 +00:00

21 lines
728 B
Plaintext

--- mbox.c.orig Wed Jun 21 07:52:20 2000
+++ mbox.c Thu Jul 27 15:24:33 2000
@@ -285,7 +285,7 @@
if (!ctx->quiet && ReadInc && ((count % ReadInc == 0) || count == 1))
mutt_message (_("Reading %s... %d (%d%%)"), ctx->path, count,
- ftell (ctx->fp) / (ctx->size / 100 + 1));
+ (int)(ftell (ctx->fp) / (ctx->size / 100 + 1)));
if (ctx->msgcount == ctx->hdrmax)
mx_alloc_memory (ctx);
@@ -791,7 +791,7 @@
j++;
if (!ctx->quiet && WriteInc && ((i % WriteInc) == 0 || j == 1))
mutt_message (_("Writing messages... %d (%d%%)"), i,
- ftell (ctx->fp) / (ctx->size / 100 + 1));
+ (int)(ftell (ctx->fp) / (ctx->size / 100 + 1)));
if (ctx->magic == M_MMDF)
{