diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-20 12:40:59 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-24 13:40:21 +0100 |
commit | 173cbe112c139de0bd1a69dce5a03db360dc5abc (patch) | |
tree | e48f7f2fc99887d15c42469c16485e9b66d63d6e /java | |
parent | 846ab858a6dd2e962d3e110147f4274416026f5a (diff) |
Avoid relying on uint -> int casting behaviour
The behaviour when casting from a uint32_t which has overflowed (so has the top
bit set) to int32_t is implementation-defined, so let's avoid relying on it.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions