mirror of https://github.com/bitcoin/bitcoin
Since the minimum signed integer cannot be represented as positive so long as its type is signed, and it's not well-defined what happens if you make it unsigned before negating it, we instead increment the negative integer by 1, convert it, then increment the (now positive) unsigned integer by 1 to compensatepull/1497/head
parent
5849bd472a
commit
0f5a2a82d9
Loading…
Reference in new issue