diff --git a/src/lib/base/log_outputters.cpp b/src/lib/base/log_outputters.cpp index 010d79f2..962c9d68 100644 --- a/src/lib/base/log_outputters.cpp +++ b/src/lib/base/log_outputters.cpp @@ -264,7 +264,7 @@ FileLogOutputter::write(ELevel level, const char *message) m_handle << message << std::endl; // when file size exceeds limits, move to 'old log' filename. - int p = m_handle.tellp(); + size_t p = m_handle.tellp(); if (p > (kFileSizeLimit * 1024)) { moveFile = true; }