Incorrect checksum computation on 64-bit systems #539

this one :)