Fix compiler warning

refs #5219
This commit is contained in:
Gunnar Beutner 2017-05-08 08:47:27 +02:00
parent deb7bbd331
commit f9b34cca30
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ void InfluxdbWriter::SendMetric(const Dictionary::Ptr& tmpl, const String& label
m_DataBuffer.push_back(String(msgbuf.str()));
// Flush if we've buffered too much to prevent excessive memory use
if (m_DataBuffer.size() >= GetFlushThreshold()) {
if (static_cast<int>(m_DataBuffer.size()) >= GetFlushThreshold()) {
Log(LogDebug, "InfluxdbWriter")
<< "Data buffer overflow writing " << m_DataBuffer.size() << " data points";
Flush();