]> granicus.if.org Git - mutt/commitdiff
use LOFF_T as the type for variables used in fseeko()
authorMichael Elkins <me@sigpipe.org>
Sun, 6 Oct 2013 16:15:57 +0000 (09:15 -0700)
committerMichael Elkins <me@sigpipe.org>
Sun, 6 Oct 2013 16:15:57 +0000 (09:15 -0700)
closes #3487

handler.c
smime.c

index ed8be9580d0e8a219896b72e2ffa1123718b1764..9313c1d50859813b1541644512e2fe02c3f0f924 100644 (file)
--- 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 3337c7290f97f0071d7f42f484081b8328501b81..2691dc966dc5dece6376ce03a3661a6e0a6b85ab 100644 (file)
--- 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;