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=a612c1279bbb8758ef1f45b9647d48b38b0e90b9;p=neomutt use LOFF_T as the type for variables used in fseeko() closes #3487 --- diff --git a/handler.c b/handler.c index ed8be9580..9313c1d50 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 3337c7290..2691dc966 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;