[master] d5eedbe A missing type-cast
Poul-Henning Kamp
phk at varnish-cache.org
Tue Sep 20 10:11:40 CEST 2011
commit d5eedbe40b0388cf4b8d5001b4a2ee957cfd312b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Sep 20 08:11:29 2011 +0000
A missing type-cast
diff --git a/bin/varnishd/storage_persistent_mgt.c b/bin/varnishd/storage_persistent_mgt.c
index c4f2191..3bd5809 100644
--- a/bin/varnishd/storage_persistent_mgt.c
+++ b/bin/varnishd/storage_persistent_mgt.c
@@ -109,7 +109,7 @@ smp_metrics(struct smp_sc *sc)
*/
sc->free_reserve = sc->aim_segl * 10;
- fprintf(stderr, "free_reserve = %ju\n", sc->free_reserve);
+ fprintf(stderr, "free_reserve = %ju\n", (uintmax_t)sc->free_reserve);
}
/*--------------------------------------------------------------------
More information about the varnish-commit
mailing list