mirror of https://github.com/JakubMelka/PDF4QT.git
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…
Reference in New Issue