r23499 by jghali - Fix signed/unsigned comparison warning
scribus-commit
scribus-commit at lists.scribus.net
Tue Mar 10 15:50:37 UTC 2020
Author: jghali
Date: Tue Mar 10 15:50:37 2020
New Revision: 23499
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23499
Log:
Fix signed/unsigned comparison warning
Modified:
trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23499&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp Tue Mar 10 15:50:37 2020
@@ -3989,7 +3989,7 @@
if (s1.length() == 0)
return QString();
GBool isUnicode;
- int i;
+ size_t i;
Unicode u;
QString result;
if ((s1.at(0) & 0xff) == 0xfe && (s1.length() > 1 && (s1.at(1) & 0xff) == 0xff))
@@ -4019,7 +4019,7 @@
// #15616: imagemagick may write unicode strings incorrectly in PDF
if (u == 0)
continue;
- result += QChar( u );
+ result += QChar(u);
}
return result;
}
More information about the scribus-commit
mailing list