diff data/fft/FFTDataServer.cpp @ 259:dc46851837d6

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents d7eeffbb8aaf
children 260032c26c4f
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp	Mon Apr 30 09:07:42 2007 +0000
+++ b/data/fft/FFTDataServer.cpp	Mon Apr 30 13:36:23 2007 +0000
@@ -376,7 +376,7 @@
               << m_releasedServers.size() << " candidates" << std::endl;
 #endif
 
-    while (m_releasedServers.size() > maxSize) {
+    while (int(m_releasedServers.size()) > maxSize) {
 
         FFTDataServer *server = *m_releasedServers.begin();
 
@@ -566,7 +566,7 @@
             StorageAdviser::recommend(criteria, minimumSize, maximumSize);
     }
 
-    std::cerr << "Recommendation was: " << recommendation << std::endl;
+//    std::cerr << "Recommendation was: " << recommendation << std::endl;
 
     m_memoryCache = ((recommendation & StorageAdviser::UseMemory) ||
                      (recommendation & StorageAdviser::PreferMemory));
@@ -723,7 +723,7 @@
 
         for (IntQueue::iterator i = m_dormantCaches.begin();
              i != m_dormantCaches.end(); ++i) {
-            if (*i == c) {
+            if (*i == int(c)) {
                 m_dormantCaches.erase(i);
                 break;
             }