From: hno <> Date: Mon, 14 Oct 2002 15:04:25 +0000 (+0000) Subject: Fix a printf type warning about long int vs int X-Git-Tag: SQUID_3_0_PRE1~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1b3055cf3e8b20da99c5d09f27601b566dcba13;p=thirdparty%2Fsquid.git Fix a printf type warning about long int vs int --- diff --git a/src/StatHist.cc b/src/StatHist.cc index f16c46192b..54768833d7 100644 --- a/src/StatHist.cc +++ b/src/StatHist.cc @@ -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));