From 1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 28 Feb 2002 20:56:42 +0000 Subject: Changed offset variables from int's to off_t's since the system may 2002-02-28 Jeffrey Stedfast * camel-mime-parser.c: Changed offset variables from int's to off_t's since the system may support large files. svn path=/trunk/; revision=15874 --- camel/camel-mime-parser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'camel/camel-mime-parser.c') diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c index ea7b75f5ca..dd9c979d63 100644 --- a/camel/camel-mime-parser.c +++ b/camel/camel-mime-parser.c @@ -222,17 +222,17 @@ struct _header_scan_state { int atleast; - int seek; /* current offset to start of buffer */ + off_t seek; /* current offset to start of buffer */ int unstep; /* how many states to 'unstep' (repeat the current state) */ unsigned int midline:1; /* are we mid-line interrupted? */ unsigned int scan_from:1; /* do we care about From lines? */ unsigned int scan_pre_from:1; /* do we return pre-from data? */ - int start_of_from; /* where from started */ - int start_of_headers; /* where headers started from the last scan */ + off_t start_of_from; /* where from started */ + off_t start_of_headers; /* where headers started from the last scan */ - int header_start; /* start of last header, or -1 */ + off_t header_start; /* start of last header, or -1 */ /* filters to apply to all content before output */ int filterid; /* id of next filter */ -- cgit v1.2.3