[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kate/part
From:       Guillermo Antonio Amaral Bastidas <me () guillermoamaral ! com>
Date:       2007-06-17 3:02:56
Message-ID: 1182049376.001544.27493.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 676539 by gamaral:

Unsigned to signed comparison warning fix



 M  +2 -2      katedocument.cpp  


--- branches/KDE/3.5/kdelibs/kate/part/katedocument.cpp #676538:676539
@@ -4431,7 +4431,7 @@
 
     m_reloading = false;
 
-    for (uint z=0; z < tmp.size(); z++)
+    for ( QValueList<int>::size_type z=0; z < tmp.size(); z++ )
     {
       if (z < numLines())
       {
@@ -4635,7 +4635,7 @@
     QString nameOfFile = url().fileName();
 
     bool found = false;
-    for (int i = 0; !found && i < wildcards.size(); ++i)
+    for (QStringList::size_type i = 0; !found && i < wildcards.size(); ++i)
     {
       QRegExp wildcard (wildcards[i], true/*Qt::CaseSensitive*/, true/*QRegExp::Wildcard*/);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic