]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix Castings slipped out of back-ported patches from 3.1.
authoramosjeffries <>
Sat, 1 Mar 2008 17:45:34 +0000 (17:45 +0000)
committeramosjeffries <>
Sat, 1 Mar 2008 17:45:34 +0000 (17:45 +0000)
src/stat.cc

index b234aa9d4e25867317fc3f89d34d05c704b3ec1d..1cfbbae95620eb1a2baa4f7bb1d1356b173f9406 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stat.cc,v 1.410.2.2 2008/02/25 02:45:50 amosjeffries Exp $
+ * $Id: stat.cc,v 1.410.2.3 2008/03/01 10:45:34 amosjeffries Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -544,9 +544,9 @@ info_get(StoreEntry * sentry)
                       dpercent(store_swap_size, Store::Root().maxSize()),  
                       dpercent((Store::Root().maxSize() - store_swap_size), Store::Root().maxSize()));
 
-
-    storeAppendPrintf(sentry, "\tStorage Mem size:\t%d KB\n",
-                      mem_node::StoreMemSize() >> 10);
+   
+    storeAppendPrintf(sentry, "\tStorage Mem size:\t%lu KB\n",
+                      (unsigned long)mem_node::StoreMemSize() >> 10);
 
     storeAppendPrintf(sentry, "\tStorage Mem capacity:\t%4.1f%% used, %4.1f%% free\n",
                       dpercent(mem_node::InUseCount(), store_pages_max),