r18559 by fschmid - Fix compiler warning
scribus-commit
scribus-commit at lists.scribus.net
Mon Oct 14 21:48:34 UTC 2013
Author: fschmid
Date: Mon Oct 14 21:48:34 2013
New Revision: 18559
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18559
Log:
Fix compiler warning
Modified:
trunk/Scribus/scribus/ui/pagepalette_widgets.cpp
Modified: trunk/Scribus/scribus/ui/pagepalette_widgets.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18559&path=/trunk/Scribus/scribus/ui/pagepalette_widgets.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pagepalette_widgets.cpp (original)
+++ trunk/Scribus/scribus/ui/pagepalette_widgets.cpp Mon Oct 14 21:48:34 2013
@@ -498,7 +498,7 @@
{
QTableWidgetItem* tbItem = item(i, j);
SeItem* pageItem = dynamic_cast<SeItem*>(tbItem);
- if (pageItem && pageItem->pageNumber == pageIndex)
+ if (pageItem && pageItem->pageNumber == static_cast<uint>(pageIndex))
return pageItem;
}
}
More information about the scribus-commit
mailing list