mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #25: Windows build without plugins
This commit is contained in:
@ -3915,7 +3915,7 @@ std::optional<int32_t> PDFJBIG2HuffmanDecoder::readSignedInteger()
|
||||
}
|
||||
else if (it->isLowValue())
|
||||
{
|
||||
return it->value - m_reader->read(32);
|
||||
return it->value - int32_t(m_reader->read(32));
|
||||
}
|
||||
else if (it->rangeBitLength == 0)
|
||||
{
|
||||
@ -3923,7 +3923,7 @@ std::optional<int32_t> PDFJBIG2HuffmanDecoder::readSignedInteger()
|
||||
}
|
||||
else
|
||||
{
|
||||
return it->value + m_reader->read(it->rangeBitLength);
|
||||
return it->value + int32_t(m_reader->read(it->rangeBitLength));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user