From: wessels <> Date: Wed, 17 Apr 2002 04:43:38 +0000 (+0000) Subject: use %ld in printf to avoid compiler warnings. X-Git-Tag: SQUID_3_0_PRE1~1063 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4a65ae9ee0e061f74d9fdb9d5827ea243be4d0c;p=thirdparty%2Fsquid.git use %ld in printf to avoid compiler warnings. --- diff --git a/src/store_client.cc b/src/store_client.cc index 5e8a3348e3..47c8d99d33 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -1,6 +1,6 @@ /* - * $Id: store_client.cc,v 1.108 2002/04/13 23:07:51 hno Exp $ + * $Id: store_client.cc,v 1.109 2002/04/16 22:43:38 wessels Exp $ * * DEBUG: section 20 Storage Manager Client-Side Interface * AUTHOR: Duane Wessels @@ -573,7 +573,7 @@ off_t storeLowestMemReaderOffset(const StoreEntry * entry) { const MemObject *mem = entry->mem_obj; - off_t lowest = mem->inmem_hi + 1; + off_t lowest = mem->inmem_hi; store_client *sc; dlink_node *nx = NULL; dlink_node *node; diff --git a/src/wccp.cc b/src/wccp.cc index 3f2a2f2924..45f5583515 100644 --- a/src/wccp.cc +++ b/src/wccp.cc @@ -1,6 +1,6 @@ /* - * $Id: wccp.cc,v 1.20 2002/03/27 18:00:55 wessels Exp $ + * $Id: wccp.cc,v 1.21 2002/04/16 22:43:38 wessels Exp $ * * DEBUG: section 80 WCCP Support * AUTHOR: Glenn Chisholm @@ -225,7 +225,7 @@ wccpHandleUdp(int sock, void *not_used) 0, (struct sockaddr *) &from, &from_len); - debug(80, 3) ("wccpHandleUdp: %d bytes WCCP pkt from %s: type=%d, version=%d, change=%d, id=%d, number=%d\n", + debug(80, 3) ("wccpHandleUdp: %d bytes WCCP pkt from %s: type=%ld, version=%ld, change=%ld, id=%ld, number=%ld\n", len, inet_ntoa(from.sin_addr), ntohl(wccp_i_see_you.type),