r22602 by jghali - Fix signed/unsigned comparison warning

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 5 09:40:54 UTC 2018


Author: jghali
Date: Sun Aug  5 09:40:54 2018
New Revision: 22602

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

Modified:
    trunk/Scribus/scribus/langmgr.cpp

Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22602&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp	(original)
+++ trunk/Scribus/scribus/langmgr.cpp	Sun Aug  5 09:40:54 2018
@@ -657,7 +657,7 @@
 	QDir dir(path , "*.*", QDir::Name, QDir::Files | QDir::NoSymLinks);
 	if (dir.exists() && (dir.count() != 0))
 	{
-		for (int i = 0; i < dir.count(); ++i)
+		for (uint i = 0; i < dir.count(); ++i)
 		{
 			QFileInfo file(path + dir[i]);
 			if (file.suffix().toLower() == "qm")




More information about the scribus-commit mailing list