[3.0] d4ece17 A missing type-cast
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Sep 22 14:03:08 CEST 2011
commit d4ece17a31688111dffb5699783689dcc8a8185d
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