r22684 by jghali - fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Thu Sep 13 10:56:08 UTC 2018


Author: jghali
Date: Thu Sep 13 10:56:08 2018
New Revision: 22684

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

Modified:
    trunk/Scribus/scribus/vgradient.cpp

Modified: trunk/Scribus/scribus/vgradient.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22684&path=/trunk/Scribus/scribus/vgradient.cpp
==============================================================================
--- trunk/Scribus/scribus/vgradient.cpp	(original)
+++ trunk/Scribus/scribus/vgradient.cpp	Thu Sep 13 10:56:08 2018
@@ -113,7 +113,7 @@
 
 bool VGradient::operator==(const VGradient &gradient) const 
 {
-	if (static_cast<uint>(m_colorStops.count()) != gradient.Stops())
+	if (m_colorStops.count() != gradient.Stops())
 		return false;
 	const QList<VColorStop*>& cs = gradient.colorStops();
 	bool retVal = true;




More information about the scribus-commit mailing list