From: Alex Rousskov Date: Tue, 19 Apr 2011 22:35:32 +0000 (-0600) Subject: Fixed compiler warnings about wrong printf() format for currentSize(). X-Git-Tag: take06~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc9b2391964dc68213923191ec5d33b69c7bde32;p=thirdparty%2Fsquid.git Fixed compiler warnings about wrong printf() format for currentSize(). --- diff --git a/src/store_dir.cc b/src/store_dir.cc index 922bb7d786..39f92ab9e2 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -349,7 +349,7 @@ StoreController::stat(StoreEntry &output) const (unsigned long int)StoreEntry::inUseCount()); storeAppendPrintf(&output, "Maximum Swap Size : %"PRIu64" KB\n", maxSize()); - storeAppendPrintf(&output, "Current Store Swap Size: %8lu KB\n", + storeAppendPrintf(&output, "Current Store Swap Size: %"PRIu64" KB\n", currentSize()); storeAppendPrintf(&output, "Current Capacity : %"PRId64"%% used, %"PRId64"%% free\n", Math::int64Percent(currentSize(), maxSize()),