summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 09:50:47 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 09:50:47 +0000
commitd0d0152e2108e573e4b8aea2364f23a3cf3c2337 (patch)
tree1f1426dcc2033812b43926d356157a3081a42e0d /base
parentadf7d80638194c86dbdea9bed0299fefb5c9a4b0 (diff)
downloadchromium_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.cc2
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)--;