fixed printf warning

This commit is contained in:
Roel Verdult 2010-10-15 13:27:18 +00:00
parent 655460059a
commit 1e52e1dc9f

View file

@ -102,7 +102,7 @@ bool print_hex_fd4 (const byte_t * pbtData, const size_t szBytes, const char * p
if (szBytes > MAX_FRAME_LEN) {
return EXIT_FAILURE;
}
if (fprintf (fd4, "#%s %04x: ", pchPrefix, szBytes)<0) {
if (fprintf (fd4, "#%s %04zx: ", pchPrefix, szBytes)<0) {
return EXIT_FAILURE;
}