From 85f5fd110650ba95b601e4a02779da6a75084745 Mon Sep 17 00:00:00 2001 From: adrian <> Date: Mon, 14 Oct 2002 17:50:08 +0000 Subject: [PATCH] fix printf of a size_t --- src/icp_v2.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.47.2