use static cast for micros

This commit is contained in:
Tyler Neely 2022-08-30 07:53:45 +00:00
parent 62bb9a399a
commit 46afb25415

View File

@ -424,7 +424,7 @@ class Raft {
std::ostringstream out;
out << '\t' << (int)micros << "\t" << term << "\t" << io_.GetAddress().last_known_port;
out << '\t' << static_cast<int>(micros) << "\t" << term << "\t" << io_.GetAddress().last_known_port;
out << role_string;