]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
printf format bugfixes to the printf format bugfixes
authorhno <>
Thu, 18 Apr 2002 22:08:21 +0000 (22:08 +0000)
committerhno <>
Thu, 18 Apr 2002 22:08:21 +0000 (22:08 +0000)
src/wccp.cc

index 45f5583515a32c03db38d1c99dfd868430b9ed2b..5f1a805beb27f83f5c4a53d974c4d7f4a434ea1f 100644 (file)
@@ -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)