[master] 4b7fc93 Add a necessay cast
Poul-Henning Kamp
phk at varnish-cache.org
Tue Sep 17 14:58:40 CEST 2013
commit 4b7fc939cdde093904e983604c54f14c4961a1d0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Sep 17 12:58:29 2013 +0000
Add a necessay cast
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 846a945..df311be 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -218,7 +218,7 @@ vbf_stp_fetchhdr(struct worker *wrk, struct busyobj *bo)
if (bo->ims_obj != NULL && bo->beresp->status == 304) {
bo->beresp->status = 200;
http_PrintfHeader(bo->beresp, "Content-Length: %jd",
- bo->ims_obj->len);
+ (intmax_t)bo->ims_obj->len);
do_ims = 1;
} else
do_ims = 0;
More information about the varnish-commit
mailing list