aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-04 00:09:49 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-04 00:31:23 +0200
commit21d6e3231f627470ee58b06df018f31de9eb3201 (patch)
tree2ab80c1061757eae8694ebd36bd6eef0868276d4 /libqpdf/QPDF.cc
parentf1c6bb97db659faf84e59dbe973b969e9fc1a066 (diff)
downloadqpdf-21d6e3231f627470ee58b06df018f31de9eb3201.tar.zst
Make use of the new Pipeline methods in some places
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 815894d3..aa99942c 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -2739,7 +2739,7 @@ QPDF::pipeStreamData(
"unexpected EOF reading stream data");
}
length -= len;
- pipeline->write(QUtil::unsigned_char_pointer(buf), len);
+ pipeline->write(buf, len);
}
pipeline->finish();
success = true;