]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: signed correctness for the mem pool idle tracker.
authorrobertc <>
Mon, 15 Sep 2003 04:41:24 +0000 (04:41 +0000)
committerrobertc <>
Mon, 15 Sep 2003 04:41:24 +0000 (04:41 +0000)
Keywords:

signed correctness for the mem pool idle tracker.

src/mem.cc

index 9a4977e298d4eb7fb749324c708580cb670d081c..6315ceb45db8fff954cfc257ebb3fb616fe9bf22 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mem.cc,v 1.82 2003/07/15 11:33:22 robertc Exp $
+ * $Id: mem.cc,v 1.83 2003/09/14 22:41:24 robertc Exp $
  *
  * DEBUG: section 13    High Level Memory Pool Management
  * AUTHOR: Harvest Derived
@@ -337,12 +337,12 @@ Mem::CleanIdlePools(void *unused)
     eventAdd("memPoolCleanIdlePools", CleanIdlePools, NULL, clean_interval, 1);
 }
 
-static int mem_idle_limit = 0;
+static unsigned int mem_idle_limit = 0;
 
 void
 memConfigure(void)
 {
-    int new_pool_limit;
+    unsigned int new_pool_limit;
     /* set to configured value first */
 
     if (!Config.onoff.mem_pools)