diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/logging.cc b/base/logging.cc index a1e7cb2..d3e66fd 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -488,7 +488,7 @@ LogMessage::~LogMessage() { SetFilePointer(log_file, 0, 0, SEEK_END); DWORD num_written; WriteFile(log_file, - static_cast<void*>(str_newline.c_str()), + static_cast<const void*>(str_newline.c_str()), static_cast<DWORD>(str_newline.length()), &num_written, NULL); |