r22604 by jghali - Fix signed/unsigned comparison warnings
scribus-commit
scribus-commit at lists.scribus.net
Sun Aug 5 10:34:22 UTC 2018
Author: jghali
Date: Sun Aug 5 10:34:22 2018
New Revision: 22604
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22604
Log:
Fix signed/unsigned comparison warnings
Modified:
trunk/Scribus/scribus/canvas.cpp
trunk/Scribus/scribus/canvasmode.cpp
Modified: trunk/Scribus/scribus/canvas.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22604&path=/trunk/Scribus/scribus/canvas.cpp
==============================================================================
--- trunk/Scribus/scribus/canvas.cpp (original)
+++ trunk/Scribus/scribus/canvas.cpp Sun Aug 5 10:34:22 2018
@@ -1028,7 +1028,7 @@
for (int layerLevel = 0; layerLevel < layerCount; ++layerLevel)
{
m_doc->Layers.levelToLayer(layer, layerLevel);
- for (uint a = 0; a < docPagesCount; ++a)
+ for (int a = 0; a < docPagesCount; ++a)
{
DrawMasterItems(painter, m_doc->Pages->at(a), layer, QRect(clipx, clipy, clipw, cliph));
}
Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22604&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Sun Aug 5 10:34:22 2018
@@ -591,7 +591,7 @@
p->scale(1, -1);
}
p->scale(gItem->width() / gItem->groupWidth, gItem->height() / gItem->groupHeight);
- for (uint cg = 0; cg < itemCountG; cg++)
+ for (int cg = 0; cg < itemCountG; cg++)
{
p->save();
currItem = gItem->groupItemList.at(cg);
More information about the scribus-commit
mailing list