commit | f8c222e2671c1be07a395a47ca0f2ab126e1b5b2 | [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 | f99df0c50af5af4d59179b8add93ea135d88859f | |
parent | b48a7573b514541b952ca460c373a88c81e2d7e1 [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