]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix a printf type warning about long int vs int
authorhno <>
Mon, 14 Oct 2002 15:04:25 +0000 (15:04 +0000)
committerhno <>
Mon, 14 Oct 2002 15:04:25 +0000 (15:04 +0000)
src/StatHist.cc

index f16c46192bfd39cf055c47303c050cf1d2cf9578..54768833d713b7532d1ba7b03c8be74aefb75a46 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: StatHist.cc,v 1.27 2002/10/13 20:34:57 robertc Exp $
+ * $Id: StatHist.cc,v 1.28 2002/10/14 09:04:25 hno Exp $
  *
  * DEBUG: section 62    Generic Histogram
  * AUTHOR: Duane Wessels
@@ -123,7 +123,7 @@ statHistCopy(StatHist * Dest, const StatHist * Orig)
     assert(Dest->val_out == Orig->val_out);
     /* actual copy */
     debug(62, 3) ("statHistCopy: copying %ld bytes to %p from %p\n",
-       (long int) Dest->capacity * sizeof(*Dest->bins),
+       (long int) (Dest->capacity * sizeof(*Dest->bins)),
        Dest->bins,
        Orig->bins);
     xmemcpy(Dest->bins, Orig->bins, Dest->capacity * sizeof(*Dest->bins));