Commit 3643db68 authored by gabime's avatar gabime

Fixed msvc conversion warning

parent 59f54cda
......@@ -246,7 +246,7 @@ class F_formatter SPDLOG_FINAL : public flag_formatter
{
auto duration = msg.time.time_since_epoch();
auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(duration).count() % 1000000000;
fmt::format_to(dest, "{:09}", static_cast<int>(ns));
fmt::format_to(dest, "{:09}", ns);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment