r23214 by jghali - Fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Wed Sep 25 11:33:24 UTC 2019


Author: jghali
Date: Wed Sep 25 11:33:24 2019
New Revision: 23214

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

Modified:
    trunk/Scribus/scribus/scdocoutput.cpp

Modified: trunk/Scribus/scribus/scdocoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23214&path=/trunk/Scribus/scribus/scdocoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/scdocoutput.cpp	(original)
+++ trunk/Scribus/scribus/scdocoutput.cpp	Wed Sep 25 11:33:24 2019
@@ -17,7 +17,7 @@
 	bool done = true;
 	ScPage* page;
 
-	for (int index = 0; index < pageNumbers.size(); index++)
+	for (size_t index = 0; index < pageNumbers.size(); index++)
 	{
 		page = doc->Pages->at( pageNumbers[index] - 1 );
 		ScPageOutput* outputComponent = createPageOutputComponent(index + 1);




More information about the scribus-commit mailing list