From: amosjeffries <> Date: Sat, 1 Mar 2008 17:45:34 +0000 (+0000) Subject: Fix Castings slipped out of back-ported patches from 3.1. X-Git-Tag: SQUID_3_0_STABLE2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab52bd65cfd594ba8953623da76f4d9620b77001;p=thirdparty%2Fsquid.git Fix Castings slipped out of back-ported patches from 3.1. --- diff --git a/src/stat.cc b/src/stat.cc index b234aa9d4e..1cfbbae956 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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),