diff options
Diffstat (limited to 'libqpdf/Pl_DCT.cc')
-rw-r--r-- | libqpdf/Pl_DCT.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libqpdf/Pl_DCT.cc b/libqpdf/Pl_DCT.cc index 9c33b6e1..f7cc4b75 100644 --- a/libqpdf/Pl_DCT.cc +++ b/libqpdf/Pl_DCT.cc @@ -302,9 +302,8 @@ Pl_DCT::compress(void* cinfo_p, Buffer* b) QIntC::to_size(cinfo->input_components); if (b->getSize() != expected_size) { throw std::runtime_error( - "Pl_DCT: image buffer size = " + - QUtil::uint_to_string(b->getSize()) + - "; expected size = " + QUtil::uint_to_string(expected_size)); + "Pl_DCT: image buffer size = " + std::to_string(b->getSize()) + + "; expected size = " + std::to_string(expected_size)); } JSAMPROW row_pointer[1]; unsigned char* buffer = b->getBuffer(); |