Issue #22: Clang compilation fix

This commit is contained in:
Jakub Melka
2022-07-31 19:17:43 +02:00
parent e310efb763
commit ae5e2fa9cd
4 changed files with 23 additions and 2 deletions

View File

@ -2508,8 +2508,8 @@ void PDFJBIG2Decoder::processGenericRegion(const PDFJBIG2SegmentHeader& header)
QByteArray endSequence(2, 0);
if (!parameters.MMR)
{
endSequence[0] = unsigned char(0xFF);
endSequence[1] = unsigned char(0xAC);
endSequence[0] = (unsigned char)(0xFF);
endSequence[1] = (unsigned char)(0xAC);
}
int endPosition = stream->indexOf(endSequence);