[Solved] Why doesn’t my code return the checksum I am expecting and I pre-calculated?
I defined my checksum variable as unsigned long int because that was typedefed as a uint4 in the library I am porting (where the basis for this code comes from). Turns out that the library was only used on 32 bit architectures, so an unsigned long int is 4 bytes whereas on my machine (64 … Read more