[experimental-ims] 646d185 Fixup printf format on 32bit platforms

Geoff Simmons geoff at varnish-cache.org
Tue Feb 14 17:49:29 CET 2012


commit 646d185e6bee723a848d315b9729b2997443135e
Author: Rogier 'DocWilco' Mulhuijzen <github at bsdchicks.com>
Date:   Wed Jan 18 10:51:15 2012 +0100

    Fixup printf format on 32bit platforms

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);



More information about the varnish-commit mailing list