Commit d38d53d9 authored by Crunkle's avatar Crunkle

Fix Win32 event log sink

parent c9e094d9
......@@ -219,7 +219,7 @@ protected:
using namespace internal;
memory_buf_t formatted;
formatter_->format(msg, formatted);
base_sink<Mutex>::formatter_->format(msg, formatted);
formatted.push_back('\0');
LPCSTR lp_str = static_cast<LPCSTR>(formatted.data());
......
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