diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-01-08 17:08:27 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-01-08 19:33:10 +0100 |
commit | aefb8ff9efe06b6a596fac8140daea605ff149ff (patch) | |
tree | 63ec507fde5965967dab6e1ef424403903c947ad /include | |
parent | 8363657cf34be7ac34b86ee32ec052cc4ed7e5e1 (diff) | |
download | qpdf-aefb8ff9efe06b6a596fac8140daea605ff149ff.tar.zst |
Refactor QPDFWriter::writePad
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFWriter.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh index 56771e18..af6c15be 100644 --- a/include/qpdf/QPDFWriter.hh +++ b/include/qpdf/QPDFWriter.hh @@ -557,7 +557,7 @@ class QPDFWriter void writeBuffer(std::shared_ptr<Buffer>&); void writeStringQDF(std::string const& str); void writeStringNoQDF(std::string const& str); - void writePad(int nspaces); + void writePad(size_t nspaces); void assignCompressedObjectNumbers(QPDFObjGen const& og); void enqueueObject(QPDFObjectHandle object); void writeObjectStreamOffsets( @@ -676,7 +676,7 @@ class QPDFWriter qpdf_offset_t hint_length, bool skip_compression, int linearization_pass); - int calculateXrefStreamPadding(qpdf_offset_t xref_bytes); + size_t calculateXrefStreamPadding(qpdf_offset_t xref_bytes); // When filtering subsections, push additional pipelines to the // stack. When ready to switch, activate the pipeline stack. When |