use static cast for micros
This commit is contained in:
parent
62bb9a399a
commit
46afb25415
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user