From 781c313058e26b6ab6fda060a652a395d27cdb7a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 23 Jun 2012 15:08:21 -0400 Subject: 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. --- libqpdf/QPDF_Integer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libqpdf/QPDF_Integer.cc') 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_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; -- cgit v1.2.3-54-g00ecf