I've tested the patch, and with it the source compiled on arm64 at least. I thus believe it is the complete problem for archs with unsigned char types.
-- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org