Index: chrome/browser/safe_browsing/protocol_parser_unittest.cc |
diff --git a/chrome/browser/safe_browsing/protocol_parser_unittest.cc b/chrome/browser/safe_browsing/protocol_parser_unittest.cc |
index f3679e22cc3fa0cbbfb722cd9b541ee85b25a157..198f76a6edc22cb33db2a9b24ddf792b97dfadb9 100644 |
--- a/chrome/browser/safe_browsing/protocol_parser_unittest.cc |
+++ b/chrome/browser/safe_browsing/protocol_parser_unittest.cc |
@@ -78,8 +78,8 @@ TEST(SafeBrowsingProtocolParsingTest, TestAddFullChunk) { |
SBFullHash full_hash1, full_hash2; |
for (int i = 0; i < 32; ++i) { |
- full_hash1.full_hash[i] = i % 2 ? '1' : '0'; |
- full_hash2.full_hash[i] = i % 2 ? '3' : '2'; |
+ full_hash1.full_hash[i] = (i % 2) ? '1' : '0'; |
+ full_hash2.full_hash[i] = (i % 2) ? '3' : '2'; |
} |
ScopedVector<SBChunkData> chunks; |