$ gcc -Wall -Wextra -pedantic -std=c99 a.c -o a && a a.c: In function ‘main’: a.c:22:4: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘char *’ [-Wformat=] printf("%02X\n", first); ^ 1E25970