Open hammer-dp-ua opened 7 years ago
Please rollback a change made in 10.25.2016 08:27:15 by SeregaKai. abs function was placed not just by mistake. Looks like it converts "unsigned int" to "int" inside itself and then really changes bitwise representation if int result is negative.
I agree on this. The gen_appbin.py used to generate the crc in the first place, also uses abs.
Please rollback a change made in 10.25.2016 08:27:15 by SeregaKai. abs function was placed not just by mistake. Looks like it converts "unsigned int" to "int" inside itself and then really changes bitwise representation if int result is negative.