main.c: boswap: use proper return type
commit92c40a8a64c87dbbea20fbb4ac68889ecd03d622
authorJan Krüger <jk@jk.gs>
Sun, 19 Feb 2012 09:35:46 +0000 (19 10:35 +0100)
committerJan Krüger <jk@jk.gs>
Sun, 19 Feb 2012 09:35:46 +0000 (19 10:35 +0100)
tree1b592bbe47403bfacc58a3b5171509625c9e79b5
parent3db632852c9d5fc77a8167574908c6d3701ee8ea
main.c: boswap: use proper return type

boswap() currently returns a signed int value, when it really should
return an unsigned one... otherwise a header checksum with its MSB set
will fail to be validated.

It's really astonishing that this was never noticed until recently...
main.c