Refactor stats to use the same type for indexes
authorChristopher Dykes <cdykes@fb.com>
Fri, 16 Dec 2016 03:59:27 +0000 (19:59 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Dec 2016 04:02:59 +0000 (20:02 -0800)
commit654cce1e5f5f4cadf3d6a05fe964d30d6120ffbc
tree973594c4f25fbd63cffa14b3a484b5749c73c561
parent16c6735f1811fea2ba71f754c88f5026d2730d2c
Refactor stats to use the same type for indexes

Summary:
This refactors folly/stats/* to use a single type for indexes rather than `size_t`, `int`, `unsigned int`, `uint64_t` and `int64_t` depending on where you looked.
This also has the result of getting MSVC to not complain about implicit sign conversions and implicit truncations.

Reviewed By: simpkins

Differential Revision: D4282174

fbshipit-source-id: 8529be34dce8ad18bc64395330bbdf2cd7305be4
folly/stats/Histogram-defs.h
folly/stats/Histogram.h
folly/stats/Instantiations.cpp
folly/stats/MultiLevelTimeSeries-defs.h
folly/stats/MultiLevelTimeSeries.h
folly/stats/TimeseriesHistogram-defs.h
folly/stats/TimeseriesHistogram.h
folly/test/TimeseriesHistogramTest.cpp