diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 09:50:47 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 09:50:47 +0000 |
commit | d0d0152e2108e573e4b8aea2364f23a3cf3c2337 (patch) | |
tree | 1f1426dcc2033812b43926d356157a3081a42e0d /base | |
parent | adf7d80638194c86dbdea9bed0299fefb5c9a4b0 (diff) | |
download | chromium_src-d0d0152e2108e573e4b8aea2364f23a3cf3c2337.zip chromium_src-d0d0152e2108e573e4b8aea2364f23a3cf3c2337.tar.gz chromium_src-d0d0152e2108e573e4b8aea2364f23a3cf3c2337.tar.bz2 |
Quick-fix the compliation error on Windows
TBR=phajdan.jr,glider
Review URL: http://codereview.chromium.org/3413032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/tools_sanity_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/tools_sanity_unittest.cc b/base/tools_sanity_unittest.cc index 2f758e2..ab2d197 100644 --- a/base/tools_sanity_unittest.cc +++ b/base/tools_sanity_unittest.cc @@ -36,7 +36,7 @@ TEST(ToolsSanityTest, MemoryLeak) { } void ReadUninitializedValue(char *ptr) { - if (*ptr == true) { + if (*ptr == '\0') { (*ptr)++; } else { (*ptr)--; |