summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2019-11-19 06:53:22 -0800
committerGreg Kaiser <gkaiser@google.com>2019-11-19 06:53:22 -0800
commit9829e7f89469a828d216e9558c259253bd11dda9 (patch)
tree1a562b9b0ab315c04789ff075a74ee61554aae47 /trusty/coverage/coverage.cpp
parentba5351692e005cfa016414fb5472a2a12f95e31d (diff)
liblog: Assure shifting behavior is consistent
Shifting a signed 32-bit value by 31 bits is implementation- defined behavior. So we change to an unsigned value for our shift by 31 bits, and go ahead and change the others to unsigned for consistency. Test: TreeHugger Change-Id: Ib98f9b1e468d28dafd09e86273bf76beb1ea1fa5
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions