commit | 9829e7f89469a828d216e9558c259253bd11dda9 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Nov 19 06:53:22 2019 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Nov 19 06:53:22 2019 -0800 |
tree | 1a562b9b0ab315c04789ff075a74ee61554aae47 | |
parent | ba5351692e005cfa016414fb5472a2a12f95e31d [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