diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-22 01:32:21 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-22 03:23:24 +0200 |
commit | 81e8752362eeab80f156eb74d1b523eba20a0366 (patch) | |
tree | 96ec527e8aaf243767458058598740c9fbffc2d4 /libqpdf/qpdf | |
parent | c833295a3948e914fa23042896f19f35ddd8d927 (diff) | |
download | qpdf-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/qpdf')
-rw-r--r-- | libqpdf/qpdf/QPDF_Stream.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/qpdf/QPDF_Stream.hh b/libqpdf/qpdf/QPDF_Stream.hh index 49db4d47..e74ae201 100644 --- a/libqpdf/qpdf/QPDF_Stream.hh +++ b/libqpdf/qpdf/QPDF_Stream.hh @@ -14,7 +14,7 @@ class QPDF_Stream: public QPDFObject public: QPDF_Stream(QPDF*, int objid, int generation, QPDFObjectHandle stream_dict, - off_t offset, size_t length); + qpdf_offset_t offset, size_t length); virtual ~QPDF_Stream(); virtual std::string unparse(); QPDFObjectHandle getDict() const; @@ -51,7 +51,7 @@ class QPDF_Stream: public QPDFObject int objid; int generation; QPDFObjectHandle stream_dict; - off_t offset; + qpdf_offset_t offset; size_t length; PointerHolder<Buffer> stream_data; PointerHolder<QPDFObjectHandle::StreamDataProvider> stream_provider; |