mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Fix "type qualifiers ignored on cast result type" warning
This commit is contained in:
committed by
Jakub Melka
parent
7ab77c582b
commit
61f489dd70
@ -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<const char>(static_cast<uint8_t>((alignedBuffer >> shift) & 0xFF)));
|
||||
m_outputByteArray.push_back(static_cast<char>(static_cast<uint8_t>((alignedBuffer >> shift) & 0xFF)));
|
||||
}
|
||||
|
||||
m_bitsInBuffer = remainder;
|
||||
|
Reference in New Issue
Block a user