fix for signedness of char on ARM