From e181fd47e1adf2cde4c366300aac4b5a30481670 Mon Sep 17 00:00:00 2001 From: robertc <> Date: Thu, 6 Feb 2003 07:16:16 +0000 Subject: [PATCH] Summary: Fix bug #475 Keywords: Cast to long unsigned, not long signed for store_swap_size warnings. --- src/store.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store.cc b/src/store.cc index 3104d53042..d35617df1f 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.556 2003/02/05 10:36:55 robertc Exp $ + * $Id: store.cc,v 1.557 2003/02/06 00:16:16 robertc Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -956,8 +956,8 @@ storeMaintainSwapSpace(void *datanotused) } if (store_swap_size > Config.Swap.maxSize) { if (squid_curtime - last_warn_time > 10) { - debug(20, 0) ("WARNING: Disk space over limit: %ld KB > %ld KB\n", - (long int) store_swap_size, (long int) Config.Swap.maxSize); + debug(20, 0) ("WARNING: Disk space over limit: %lu KB > %lu KB\n", + (long unsigned) store_swap_size, (long unsigned) Config.Swap.maxSize); last_warn_time = squid_curtime; } } -- 2.47.3