[experimental-ims] b16790a Avoid 32 bit variables in stats aggregation.

Geoff Simmons geoff at varnish-cache.org
Mon Jan 9 21:51:48 CET 2012


commit b16790a74f5e5ffb34d2f27027778399a90a3f71
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