mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-02-23 15:07:40 +01:00
Fix comparison of different signedness warning
This commit is contained in:
parent
61f489dd70
commit
eefde4edee
@ -2174,7 +2174,7 @@ bool PDFEncoding::canConvertToEncoding(const QString& string, Encoding encoding,
|
|||||||
ushort unicode = character.unicode();
|
ushort unicode = character.unicode();
|
||||||
bool converted = false;
|
bool converted = false;
|
||||||
|
|
||||||
for (int i = 0; i < table->size(); ++i)
|
for (int i = 0; i < static_cast< int >(table->size()); ++i)
|
||||||
{
|
{
|
||||||
if (unicode == (*table)[static_cast<unsigned char>(i)])
|
if (unicode == (*table)[static_cast<unsigned char>(i)])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user