From: Michael Elkins Date: Sun, 6 Oct 2013 16:15:57 +0000 (-0700) Subject: use LOFF_T as the type for variables used in fseeko() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91734ad42787d709dab81217f13e8225846cda02;p=mutt use LOFF_T as the type for variables used in fseeko() closes #3487 --- diff --git a/handler.c b/handler.c index ed8be958..9313c1d5 100644 --- a/handler.c +++ b/handler.c @@ -1595,7 +1595,7 @@ int mutt_body_handler (BODY *b, STATE *s) FILE *fp = NULL; char tempfile[_POSIX_PATH_MAX]; handler_t handler = NULL; - long tmpoffset = 0; + LOFF_T tmpoffset = 0; size_t tmplength = 0; int rc = 0; diff --git a/smime.c b/smime.c index 3337c729..2691dc96 100644 --- a/smime.c +++ b/smime.c @@ -1546,7 +1546,7 @@ int smime_verify_one (BODY *sigbdy, STATE *s, const char *tempfile) pid_t thepid; int badsig = -1; - long tmpoffset = 0; + LOFF_T tmpoffset = 0; size_t tmplength = 0; int origType = sigbdy->type; char *savePrefix = NULL; @@ -1863,7 +1863,7 @@ int smime_decrypt_mime (FILE *fpin, FILE **fpout, BODY *b, BODY **cur) char tempfile[_POSIX_PATH_MAX]; STATE s; - long tmpoffset = b->offset; + LOFF_T tmpoffset = b->offset; size_t tmplength = b->length; int origType = b->type; FILE *tmpfp=NULL;