Issue #25: Windows build without plugins

This commit is contained in:
Jakub Melka
2022-08-20 17:43:33 +02:00
parent d0a6b55e88
commit e5775906cf
115 changed files with 638 additions and 532 deletions

View File

@ -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));
}
}
}