4915f32e9a
with help from David Terrell (and tests/advice from various people).
22 lines
864 B
Plaintext
22 lines
864 B
Plaintext
$OpenBSD: patch-mbox_c,v 1.1 2000/01/21 16:39:39 espie Exp $
|
|
--- mbox.c.orig Thu Jan 6 12:55:09 2000
|
|
+++ mbox.c Thu Jan 20 16:33:04 2000
|
|
@@ -275,7 +275,7 @@ int mbox_parse_mailbox (CONTEXT *ctx)
|
|
|
|
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);
|
|
@@ -765,7 +765,7 @@ int mbox_sync_mailbox (CONTEXT *ctx)
|
|
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)
|
|
{
|