r23501 by jghali - Fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Tue Mar 10 16:00:16 UTC 2020


Author: jghali
Date: Tue Mar 10 16:00:15 2020
New Revision: 23501

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23501
Log:
Fix signed/unsigned comparison warning

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23501&path=/trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp	Tue Mar 10 16:00:15 2020
@@ -1018,7 +1018,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))




More information about the scribus-commit mailing list