diff --git a/Pdf4QtLibCore/sources/pdfstreamfilters.cpp b/Pdf4QtLibCore/sources/pdfstreamfilters.cpp index 4becfa4..203b036 100644 --- a/Pdf4QtLibCore/sources/pdfstreamfilters.cpp +++ b/Pdf4QtLibCore/sources/pdfstreamfilters.cpp @@ -895,7 +895,7 @@ QByteArray PDFStreamPredictor::applyPNGPredictor(const QByteArray& data) const } // Fill the output buffer - outputData.push_back(static_cast(line[lineIndex])); + outputData.push_back(static_cast(line[lineIndex])); } // Swap the buffers diff --git a/Pdf4QtLibCore/sources/pdfutils.cpp b/Pdf4QtLibCore/sources/pdfutils.cpp index 0e343b6..3e3defc 100644 --- a/Pdf4QtLibCore/sources/pdfutils.cpp +++ b/Pdf4QtLibCore/sources/pdfutils.cpp @@ -225,7 +225,7 @@ void PDFBitWriter::flush(bool alignToByteBoundary) for (Value byteIndex = 0; byteIndex < bytesToWrite; ++byteIndex) { const Value shift = (bytesToWrite - 1 - byteIndex) * 8; - m_outputByteArray.push_back(static_cast(static_cast((alignedBuffer >> shift) & 0xFF))); + m_outputByteArray.push_back(static_cast(static_cast((alignedBuffer >> shift) & 0xFF))); } m_bitsInBuffer = remainder;