r23187 by jghali - Fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Sun Sep 8 12:24:18 UTC 2019


Author: jghali
Date: Sun Sep  8 12:24:18 2019
New Revision: 23187

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

Modified:
    trunk/Scribus/scribus/scpageoutput.cpp

Modified: trunk/Scribus/scribus/scpageoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23187&path=/trunk/Scribus/scribus/scpageoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/scpageoutput.cpp	(original)
+++ trunk/Scribus/scribus/scpageoutput.cpp	Sun Sep  8 12:24:18 2019
@@ -117,7 +117,7 @@
 	if (!layer.isViewable || !layer.isPrintable)
 		return;
 	ScPage* Mp = m_doc->MasterPages.at(m_doc->MasterNames[page->masterPageName()]);
-	uint pageFromMasterCount = page->FromMaster.count();
+	int pageFromMasterCount = page->FromMaster.count();
 	for (int i = 0; i < pageFromMasterCount; ++i)
 	{
 		currItem = page->FromMaster.at(i);




More information about the scribus-commit mailing list