Updated Branches: refs/heads/master 80402b507 -> 1da4e9519
TS-1220 stats: cleanup and fix the wrong values so many DEFINEs Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1da4e951 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1da4e951 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1da4e951 Branch: refs/heads/master Commit: 1da4e9519abece9fe1eb6bb2dab69866e937581c Parents: 80402b5 Author: Zhao Yongming <[email protected]> Authored: Fri Apr 27 21:39:22 2012 +0800 Committer: Zhao Yongming <[email protected]> Committed: Fri Apr 27 21:39:22 2012 +0800 ---------------------------------------------------------------------- proxy/http/HttpConfig.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1da4e951/proxy/http/HttpConfig.h ---------------------------------------------------------------------- diff --git a/proxy/http/HttpConfig.h b/proxy/http/HttpConfig.h index 52be291..5757ab4 100644 --- a/proxy/http/HttpConfig.h +++ b/proxy/http/HttpConfig.h @@ -352,7 +352,7 @@ extern RecRawStatBlock *http_rsb; /* Stats should only be accessed using these macros */ #define HTTP_INCREMENT_DYN_STAT(x) RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, 1) #define HTTP_DECREMENT_DYN_STAT(x) RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, -1) -#define HTTP_SUM_DYN_STAT(x, y) RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, (int) y) +#define HTTP_SUM_DYN_STAT(x, y) RecIncrRawStat(http_rsb, mutex->thread_holding, (int) x, (int64_t) y) #define HTTP_SUM_GLOBAL_DYN_STAT(x, y) RecIncrGlobalRawStatSum(http_rsb, x, y) #define HTTP_CLEAR_DYN_STAT(x) \
