From: adrian <> Date: Mon, 14 Oct 2002 17:50:08 +0000 (+0000) Subject: fix printf of a size_t X-Git-Tag: SQUID_3_0_PRE1~650 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85f5fd110650ba95b601e4a02779da6a75084745;p=thirdparty%2Fsquid.git fix printf of a size_t --- diff --git a/src/icp_v2.cc b/src/icp_v2.cc index 256ffc2d3b..569f9de092 100644 --- a/src/icp_v2.cc +++ b/src/icp_v2.cc @@ -1,6 +1,6 @@ /* - * $Id: icp_v2.cc,v 1.68 2002/10/13 20:35:01 robertc Exp $ + * $Id: icp_v2.cc,v 1.69 2002/10/14 11:50:08 adrian Exp $ * * DEBUG: section 12 Internet Cache Protocol * AUTHOR: Duane Wessels @@ -510,9 +510,9 @@ icpHandleUdp(int sock, void *data) (*N)++; icpCount(buf, RECV, (size_t) len, 0); buf[len] = '\0'; - debug(12, 4) ("icpHandleUdp: FD %d: received %d bytes from %s.\n", + debug(12, 4) ("icpHandleUdp: FD %d: received %lu bytes from %s.\n", sock, - len, + (unsigned long int)len, inet_ntoa(from.sin_addr)); #ifdef ICP_PACKET_DUMP icpPktDump(buf);