1.6.fix warnings

The code compiles now with -w Ae and -warn-error A.
Hmm, wondering if we shouldn't use that checksum here...
I know the same change was already made on the 1.7 branch, but I didn't spot it there.