From ab52bd65cfd594ba8953623da76f4d9620b77001 Mon Sep 17 00:00:00 2001 From: amosjeffries <> Date: Sat, 1 Mar 2008 17:45:34 +0000 Subject: [PATCH] Fix Castings slipped out of back-ported patches from 3.1. --- src/stat.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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), -- 2.47.3