mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Fixedconversion warning in 32 bits
This commit is contained in:
parent
f9019870da
commit
4a59ea3b1e
@ -499,7 +499,7 @@ class full_formatter SPDLOG_FINAL : public flag_formatter
|
|||||||
if(millis != millis_cache_timestamp_ || cached_millis_.size() == 0)
|
if(millis != millis_cache_timestamp_ || cached_millis_.size() == 0)
|
||||||
{
|
{
|
||||||
cached_millis_.resize(0);
|
cached_millis_.resize(0);
|
||||||
fmt_helper::pad3(millis, cached_millis_);
|
fmt_helper::pad3(static_cast<int>(millis), cached_millis_);
|
||||||
cached_millis_.push_back(']');
|
cached_millis_.push_back(']');
|
||||||
cached_millis_.push_back(' ');
|
cached_millis_.push_back(' ');
|
||||||
millis_cache_timestamp_ = millis;
|
millis_cache_timestamp_ = millis;
|
||||||
|
Loading…
Reference in New Issue
Block a user