fixed warnings on Mac OS 10.8, xcode 5

This commit is contained in:
roel@libnfc.org 2013-09-25 10:40:16 +00:00
commit 7bb9d33e2c
6 changed files with 13 additions and 13 deletions

View file

@ -359,7 +359,7 @@ int CmdHF14BCmdRaw (const char *cmd) {
if (hexout != NULL) {
uint8_t first, second;
for (int i = 0; i < resp.arg[0]; i++) { // data in hex
sprintf(&hexout[i * 3], "%02hX ", recv[i]);
sprintf(&hexout[i * 3], "%02X ", recv[i]);
}
PrintAndLog("%s", hexout);
free(hexout);