[master] 24f0f02 cast to %j type
Nils Goroll
nils.goroll at uplex.de
Wed Mar 4 12:22:09 CET 2015
commit 24f0f02d6723affb15274bff0a215510060eb7ba
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Mar 4 11:40:38 2015 +0100
cast to %j type
diff --git a/bin/varnishd/cache/cache_gzip.c b/bin/varnishd/cache/cache_gzip.c
index a71ef4a..652af2f 100644
--- a/bin/varnishd/cache/cache_gzip.c
+++ b/bin/varnishd/cache/cache_gzip.c
@@ -300,7 +300,7 @@ VDP_gunzip(struct req *req, enum vdp_action act, void **priv,
/* XXX: Zero is suspect: OA_GZIPBITS wasn't set */
if (u != 0)
http_PrintfHeader(req->resp,
- "Content-Length: %ju", u);
+ "Content-Length: %ju", (uintmax_t)u);
}
http_Unset(req->resp, H_Content_Encoding);
return (0);
More information about the varnish-commit
mailing list