X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=ca3e390c9caf1e1721c6ce58ea46d5a4e81d52d1;hp=1f5b5b52524f5ba13d9effadf97ed164570c3b7e;hb=deba1a6bedde867b8b52d63021fabfe3953b8a10;hpb=546433d312df43754962a34eac05fee84d73a455 diff --git a/sendlib.c b/sendlib.c index 1f5b5b5..ca3e390 100644 --- a/sendlib.c +++ b/sendlib.c @@ -2500,7 +2500,7 @@ int mutt_write_fcc (const char *path, HEADER * hdr, const char *msgid, rewind (tempfp); while (fgets (sasha, sizeof (sasha), tempfp) != NULL) lines++; - fprintf (msg->fp, "Content-Length: " OFF_T_FMT "\n", (long) ftell (tempfp)); + fprintf (msg->fp, "Content-Length: " OFF_T_FMT "\n", (off_t) ftell (tempfp)); fprintf (msg->fp, "Lines: %d\n\n", lines); /* copy the body and clean up */