summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 15:10:58 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 15:10:58 +0000
commit5982f1f39f5cab5a9e6d61ac2386d0f09c7cf0c7 (patch)
tree30fc21cb1dc39540fad6b5184bb4ba6e868ef83e /base
parent74d3809ed093f072952a98b0b2644ed02768dc74 (diff)
downloadchromium_src-5982f1f39f5cab5a9e6d61ac2386d0f09c7cf0c7.zip
chromium_src-5982f1f39f5cab5a9e6d61ac2386d0f09c7cf0c7.tar.gz
chromium_src-5982f1f39f5cab5a9e6d61ac2386d0f09c7cf0c7.tar.bz2
Fix a second error in the build bustage, still about constness.
TBR=deanm Review URL: http://codereview.chromium.org/39015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/logging.cc2
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);