[PATCH 2/3] Fixup printf format on 32bit platforms

Rogier 'DocWilco' Mulhuijzen github at bsdchicks.com
Wed Jan 18 10:51:15 CET 2012


---
 bin/varnishd/cache/cache_wrw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/varnishd/cache/cache_wrw.c b/bin/varnishd/cache/cache_wrw.c
index c344f9c..e33be6c 100644
--- a/bin/varnishd/cache/cache_wrw.c
+++ b/bin/varnishd/cache/cache_wrw.c
@@ -163,14 +163,14 @@ WRW_Flush(struct worker *wrk)
 			    cache_param->send_timeout) {
 				WSL(wrk, SLT_Debug, *wrw->wfd,
 				    "Hit total send timeout, "
-				    "wrote = %ld/%ld; not retrying",
+				    "wrote = %zd/%zd; not retrying",
 				    i, wrw->liov);
 				i = -1;
 				break;
 			}
 
 			WSL(wrk, SLT_Debug, *wrw->wfd,
-			    "Hit send timeout, wrote = %ld/%ld; retrying",
+			    "Hit send timeout, wrote = %zd/%zd; retrying",
 			    i, wrw->liov);
 
 			wrw_prune(wrw, i);
-- 
1.7.5.4




More information about the varnish-dev mailing list