aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
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;