aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 8b8dd59e..2658dd26 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -2592,7 +2592,7 @@ QPDF::getRoot()
qpdf_e_damaged_pdf,
this->m->file->getName(),
"",
- this->m->file->getLastOffset(),
+ 0,
"unable to find /Root dictionary");
}
return root;