Commit 4332d2ef authored by cpu's avatar cpu Committed by Commit bot

clarify operator precedence in test.

VS /analyze complains about this.

BUG=427616

Review URL: https://codereview.chromium.org/878333002

Cr-Commit-Position: refs/heads/master@{#313429}
parent 5c115e7d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment