]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
Fixed issue with binary files in windows, http://www.lua.org/pil/21.2.2.html
[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) {
             return;
         hexout = (char *)malloc(iLen * 3 + 1);
         if (hexout != NULL) {
-            uint8_t first, second;
             for (int i = 0; i < iLen; i++) { // data in hex
             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);
             }
             PrintAndLog("%s", hexout);
             free(hexout);
Impressum, Datenschutz