diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-23 21:08:21 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-24 21:20:01 +0200 |
commit | 781c313058e26b6ab6fda060a652a395d27cdb7a (patch) | |
tree | 30488e9556dcf2c584fd46ec8ec61e59d2141634 /libqpdf/QPDF_Integer.cc | |
parent | 4ef95dbda440e0aeffa26df40cc33d001e77f4c5 (diff) | |
download | qpdf-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 'libqpdf/QPDF_Integer.cc')
-rw-r--r-- | libqpdf/QPDF_Integer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDF_Integer.cc b/libqpdf/QPDF_Integer.cc index da3b7dc9..fb25af1b 100644 --- a/libqpdf/QPDF_Integer.cc +++ b/libqpdf/QPDF_Integer.cc @@ -2,7 +2,7 @@ #include <qpdf/QUtil.hh> -QPDF_Integer::QPDF_Integer(int val) : +QPDF_Integer::QPDF_Integer(long long val) : val(val) { } @@ -17,7 +17,7 @@ QPDF_Integer::unparse() return QUtil::int_to_string(this->val); } -int +long long QPDF_Integer::getVal() const { return this->val; |