diff options
Diffstat (limited to 'statsd')
| -rw-r--r-- | statsd/stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/statsd/stats.cpp b/statsd/stats.cpp index cd66193..e2a6a5d 100644 --- a/statsd/stats.cpp +++ b/statsd/stats.cpp @@ -65,7 +65,7 @@ void Stats::output(std::string file) ofs << it->first; } ofs << std::endl; - for(int i = 0; i < table.second.begin()->second.size(); ++i) { + for(size_t i = 0; i < table.second.begin()->second.size(); ++i) { for(auto it = table.second.begin(); it != table.second.end(); ++it) { if(it != table.second.begin()) { ofs << ", "; |
