From 2f60e23fd5415247f08a41bfa9e43473009fb109 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Wed, 9 Mar 2011 16:13:44 +0000 Subject: [PATCH] Cleanup macro. --- libnfc/nfc-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/nfc-internal.h b/libnfc/nfc-internal.h index 1bf8ab8..70d00db 100644 --- a/libnfc/nfc-internal.h +++ b/libnfc/nfc-internal.h @@ -41,7 +41,7 @@ size_t __szPos; \ printf(" %s: ", pcTag); \ for (__szPos=0; __szPos < (size_t)(szBytes); __szPos++) { \ - printf("%02x ",pbtData[__szPos]); \ + printf("%02x ",((uint8_t *)(pbtData))[__szPos]); \ } \ printf("\n"); \ } while (0);