aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDF.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-23 21:08:21 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-24 21:20:01 +0200
commit781c313058e26b6ab6fda060a652a395d27cdb7a (patch)
tree30488e9556dcf2c584fd46ec8ec61e59d2141634 /include/qpdf/QPDF.hh
parent4ef95dbda440e0aeffa26df40cc33d001e77f4c5 (diff)
downloadqpdf-781c313058e26b6ab6fda060a652a395d27cdb7a.tar.zst
Change QPDF_Integer from int to long long
This makes it possible to store offsets that are larger than 2 GB in the trailer dictionary.
Diffstat (limited to 'include/qpdf/QPDF.hh')
-rw-r--r--include/qpdf/QPDF.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 59d26133..518069d7 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -529,8 +529,8 @@ class QPDF
void setTrailer(QPDFObjectHandle obj);
void read_xref(qpdf_offset_t offset);
void reconstruct_xref(QPDFExc& e);
- int read_xrefTable(qpdf_offset_t offset);
- int read_xrefStream(qpdf_offset_t offset);
+ qpdf_offset_t read_xrefTable(qpdf_offset_t offset);
+ qpdf_offset_t read_xrefStream(qpdf_offset_t offset);
int processXRefStream(qpdf_offset_t offset, QPDFObjectHandle& xref_stream);
void insertXrefEntry(int obj, int f0, int f1, int f2,
bool overwrite = false);