]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
cmdhf14b.c: fixing a crash in the crc computation when missing data (e.g. with 'hf...
[proxmark3-svn] / client / cmdhf14a.c
index 9309a1a9bfe1575aa2d2e1d39f02c812bfde964a..f7e0ffa998d0a76961d72bc833de3399f88f7cde 100644 (file)
@@ -596,9 +596,8 @@ static void waitCmd(uint8_t iSelect)
             return;
         hexout = (char *)malloc(iLen * 3 + 1);
         if (hexout != NULL) {
-            uint8_t first, second;
             for (int i = 0; i < iLen; i++) { // data in hex
-                sprintf(&hexout[i * 3], "%02hX ", recv[i]);
+                sprintf(&hexout[i * 3], "%02X ", recv[i]);
             }
             PrintAndLog("%s", hexout);
             free(hexout);
Impressum, Datenschutz