X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;fp=copy.c;h=f865d8a834dd4a0a5462ad3685a43b8d789f1976;hp=c3299f072715707335f41d9e57b1eefd40ee9479;hb=c8e9242de36d7aa6e3bb2e446f57ef2a14e4c889;hpb=569145d4875fd59719a1a3a7d2c7d64d622eacd1 diff --git a/copy.c b/copy.c index c3299f0..f865d8a 100644 --- a/copy.c +++ b/copy.c @@ -451,7 +451,7 @@ mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags, } if (flags & CH_UPDATE_LEN && (flags & CH_NOLEN) == 0) { - fprintf (out, "Content-Length: %lld\n", h->content->length); + fprintf (out, "Content-Length: %zu\n", h->content->length); if (h->lines != 0 || h->content->length == 0) fprintf (out, "Lines: %d\n", h->lines); } @@ -555,7 +555,7 @@ _mutt_copy_message (FILE * fpout, FILE * fpin, HEADER * hdr, BODY * body, if (mutt_copy_header (fpin, hdr, fpout, chflags | CH_NOLEN | CH_NONEWLINE, NULL)) return -1; - fprintf (fpout, "Content-Length: %lld\n", new_length); + fprintf (fpout, "Content-Length: %zu\n", new_length); if (new_lines <= 0) new_lines = 0; else @@ -768,7 +768,7 @@ static int copy_delete_attach (BODY * b, FILE * fpin, FILE * fpout, if (part->deleted) { fprintf (fpout, "Content-Type: message/external-body; access-type=x-mutt-deleted;\n" - "\texpiration=%s; length=%lld\n" + "\texpiration=%s; length=%zu\n" "\n", date + 5, part->length); if (ferror (fpout)) return -1;