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

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       Andreas Hartmetz <ahartmetz () gmail ! com>
Date:       2010-01-16 22:52:45
Message-ID: 1263682365.978573.28686.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1075877 by ahartmetz:

Remove unused parameter that also doesn't work, and fix comparison between signed and \
unsigned int. Thanks to toma for telling me about it.

 M  +2 -2      scheduler_p.h  


--- trunk/KDE/kdelibs/kio/kio/scheduler_p.h #1075876:1075877
@@ -88,7 +88,7 @@
     SerialPicker()
      : m_offset(1) {}
 
-    int next(int priority = 0)
+    int next()
     {
         if (m_offset >= m_jobsPerPriority) {
             m_offset = 1;
@@ -99,7 +99,7 @@
     int changedPrioritySerial(int oldSerial, int newPriority) const;
 
 private:
-    static const int m_jobsPerPriority = 100000000;
+    static const uint m_jobsPerPriority = 100000000;
     uint m_offset;
 public:
     static const int maxSerial = m_jobsPerPriority * 20;


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

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