r23364 by jghali - #15949: fix signed/unsigned comparison warning in importpdf.cpp

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 14 21:12:10 UTC 2019


Author: jghali
Date: Thu Nov 14 21:12:10 2019
New Revision: 23364

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23364
Log:
#15949: fix signed/unsigned comparison warning in importpdf.cpp

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=23364&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	Thu Nov 14 21:12:10 2019
@@ -633,7 +633,7 @@
 						}
 						m_Doc->setPageSize("Custom");
 					//	m_Doc->pdfOptions().PresentVals.clear();
-						for (int i = 0; i < pageNs.size(); ++i)
+						for (size_t i = 0; i < pageNs.size(); ++i)
 						{
 							int pp = pageNs[i];
 							m_Doc->setActiveLayer(baseLayer);




More information about the scribus-commit mailing list