[3.0] b6fcb3d Avoid 32 bit variables in stats aggregation.
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Sep 22 14:02:46 CEST 2011
commit b6fcb3de0f8fcdaedcf3151067d2aa3e8f59e575
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Sep 12 10:13:35 2011 +0000
Avoid 32 bit variables in stats aggregation.
Fixes #993
diff --git a/bin/varnishd/cache.h b/bin/varnishd/cache.h
index 1c1952d..e2faf30 100644
--- a/bin/varnishd/cache.h
+++ b/bin/varnishd/cache.h
@@ -218,7 +218,7 @@ struct acct {
/*--------------------------------------------------------------------*/
#define L0(n)
-#define L1(n) int n;
+#define L1(n) uint64_t n;
#define VSC_F(n, t, l, f, e) L##l(n)
#define VSC_DO_MAIN
struct dstat {
More information about the varnish-commit
mailing list