[6.0] 25fcec646 change probe stats bitmaps to match %ju format
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:52:58 UTC 2018
commit 25fcec646fd2e27bd5836c3ce583dab9389f0dfe
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon May 14 11:37:23 2018 +0200
change probe stats bitmaps to match %ju format
or should we use "%" PRIu64 in the format ?
reported by Travis via @fgsch
diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index 478ad18f9..276391dba 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -72,7 +72,7 @@ struct vbp_target {
unsigned good;
/* Collected statistics */
-#define BITMAP(n, c, t, b) uint64_t n;
+#define BITMAP(n, c, t, b) uintmax_t n;
#include "tbl/backend_poll.h"
double last;
More information about the varnish-commit
mailing list