commit | 3f36ed914ee672937443d0b9bec8b423cb7b227e | [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 | 4cb45e218520bac082353a7b0611a3fe256c6097 [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