aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/Pl_Count.hh
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 /include/qpdf/Pl_Count.hh
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 'include/qpdf/Pl_Count.hh')
-rw-r--r--include/qpdf/Pl_Count.hh4
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;
};