aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libqpdf/QPDF_linearization.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_linearization.cc b/libqpdf/QPDF_linearization.cc
index 91855942..5de1e8f6 100644
--- a/libqpdf/QPDF_linearization.cc
+++ b/libqpdf/QPDF_linearization.cc
@@ -794,7 +794,7 @@ QPDF::checkHPageOffset(std::list<std::string>& errors,
{
stopOnError("supposed first page object is not known");
}
- int offset = getLinearizationOffset(first_page_og);
+ qpdf_offset_t offset = getLinearizationOffset(first_page_og);
if (table_offset != offset)
{
warnings.push_back("first page object offset mismatch");