mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Fixed issue #798 and added -Wconversion compiler flag to build
This commit is contained in:
@@ -30,7 +30,7 @@ protected:
|
||||
{
|
||||
fmt::memory_buffer formatted;
|
||||
sink::formatter_->format(msg, formatted);
|
||||
ostream_.write(formatted.data(), formatted.size());
|
||||
ostream_.write(formatted.data(), static_cast<std::streamsize>(formatted.size()));
|
||||
if (force_flush_)
|
||||
ostream_.flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user