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 /include/qpdf/Pl_Count.hh | |
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 'include/qpdf/Pl_Count.hh')
-rw-r--r-- | include/qpdf/Pl_Count.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/Pl_Count.hh b/include/qpdf/Pl_Count.hh index 7e522455..1063fe1d 100644 --- a/include/qpdf/Pl_Count.hh +++ b/include/qpdf/Pl_Count.hh @@ -27,14 +27,14 @@ class Pl_Count: public Pipeline virtual void finish(); // Returns the number of bytes written QPDF_DLL - off_t getCount() const; + qpdf_offset_t getCount() const; // Returns the last character written, or '\0' if no characters // have been written (in which case getCount() returns 0) QPDF_DLL unsigned char getLastChar() const; private: - off_t count; + qpdf_offset_t count; unsigned char last_char; }; |