https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65040
--- Comment #12 from Jiri Slaby <jirislaby at gmail dot com> --- (In reply to Marek Polacek from comment #10) > That's because on your architecture char is signed by default. Try adding > "unsigned" or using -funsigned-char and the warning should be gone. Ok, I wanted to make sure, that the format string is really wrong here. It should be %hhx. Ouch, that will be pain to fix all those 400 bad format strings in grub2, given they use Werror & WFormat :D.