From: hno <> Date: Thu, 18 Apr 2002 22:08:21 +0000 (+0000) Subject: printf format bugfixes to the printf format bugfixes X-Git-Tag: SQUID_3_0_PRE1~1054 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e640afbc0567770769cd6279c60438f2c58ad8b;p=thirdparty%2Fsquid.git printf format bugfixes to the printf format bugfixes --- diff --git a/src/wccp.cc b/src/wccp.cc index 45f5583515..5f1a805beb 100644 --- a/src/wccp.cc +++ b/src/wccp.cc @@ -1,6 +1,6 @@ /* - * $Id: wccp.cc,v 1.21 2002/04/16 22:43:38 wessels Exp $ + * $Id: wccp.cc,v 1.22 2002/04/18 16:08:21 hno Exp $ * * DEBUG: section 80 WCCP Support * AUTHOR: Glenn Chisholm @@ -225,14 +225,14 @@ wccpHandleUdp(int sock, void *not_used) 0, (struct sockaddr *) &from, &from_len); - debug(80, 3) ("wccpHandleUdp: %d bytes WCCP pkt from %s: type=%ld, version=%ld, change=%ld, id=%ld, number=%ld\n", + debug(80, 3) ("wccpHandleUdp: %d bytes WCCP pkt from %s: type=%u, version=%u, change=%u, id=%u, number=%u\n", len, inet_ntoa(from.sin_addr), - ntohl(wccp_i_see_you.type), - ntohl(wccp_i_see_you.version), - ntohl(wccp_i_see_you.change), - ntohl(wccp_i_see_you.id), - ntohl(wccp_i_see_you.number)); + (unsigned) ntohl(wccp_i_see_you.type), + (unsigned) ntohl(wccp_i_see_you.version), + (unsigned) ntohl(wccp_i_see_you.change), + (unsigned) ntohl(wccp_i_see_you.id), + (unsigned) ntohl(wccp_i_see_you.number)); if (len < 0) return; if (Config.Wccp.router.s_addr != from.sin_addr.s_addr)