Commit ad0e3e26 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2850] Simplify the corruption of checksum

parent 2015f735
......@@ -108,7 +108,7 @@ corruptChecksum(MemorySegment& segment) {
ASSERT_TRUE(result.first);
size_t checksum = *static_cast<size_t*>(result.second);
checksum ^= 0x55555555;
++checksum;
*static_cast<size_t*>(result.second) = checksum;
}
......
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