aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFXRefEntry.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-22 01:32:21 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-22 03:23:24 +0200
commit81e8752362eeab80f156eb74d1b523eba20a0366 (patch)
tree96ec527e8aaf243767458058598740c9fbffc2d4 /libqpdf/QPDFXRefEntry.cc
parentc833295a3948e914fa23042896f19f35ddd8d927 (diff)
downloadqpdf-81e8752362eeab80f156eb74d1b523eba20a0366.tar.zst
Use qpdf_offset_t in place of off_t in public APIs.
off_t is used internally only when needed to talk to standard libraries. This requires that the "long long" type be supported by the compiler.
Diffstat (limited to 'libqpdf/QPDFXRefEntry.cc')
-rw-r--r--libqpdf/QPDFXRefEntry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDFXRefEntry.cc b/libqpdf/QPDFXRefEntry.cc
index dea3aab6..847fc8e6 100644
--- a/libqpdf/QPDFXRefEntry.cc
+++ b/libqpdf/QPDFXRefEntry.cc
@@ -9,7 +9,7 @@ QPDFXRefEntry::QPDFXRefEntry() :
{
}
-QPDFXRefEntry::QPDFXRefEntry(int type, off_t field1, int field2) :
+QPDFXRefEntry::QPDFXRefEntry(int type, qpdf_offset_t field1, int field2) :
type(type),
field1(field1),
field2(field2)
@@ -27,7 +27,7 @@ QPDFXRefEntry::getType() const
return this->type;
}
-off_t
+qpdf_offset_t
QPDFXRefEntry::getOffset() const
{
if (this->type != 1)