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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/xml
From:       Guy Maurel <guy-kde () maurel ! de>
Date:       2009-11-02 17:50:28
Message-ID: 1257184228.628640.13659.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1043933 by guymaurel:

change the declaration of "lineno" at line 533

 M  +1 -1      xml_tokenizer.cpp  


--- trunk/KDE/kdelibs/khtml/xml/xml_tokenizer.cpp #1043932:1043933
@@ -533,7 +533,7 @@
         if ( m_handler.errorLine != -1 ) {
             QString xmlCode = m_source.data();
             QTextStream stream(&xmlCode, QIODevice::ReadOnly);
-            for (unsigned long lineno = 0; lineno < m_handler.errorLine-1; lineno++)
+            for (int lineno = 0; lineno < m_handler.errorLine-1; lineno++)
                 stream.readLine();
             line = stream.readLine();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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