From 1e52e1dc9f607a8b498889ccb053060c09e7268e Mon Sep 17 00:00:00 2001 From: Roel Verdult Date: Fri, 15 Oct 2010 13:27:18 +0000 Subject: [PATCH] fixed printf warning --- examples/nfc-relay-picc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nfc-relay-picc.c b/examples/nfc-relay-picc.c index 5ca4ab5..c587b2d 100644 --- a/examples/nfc-relay-picc.c +++ b/examples/nfc-relay-picc.c @@ -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; }