]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
Refactoring uart interface (#341)
[proxmark3-svn] / client / cmdhfmf.c
index 3fde208f6ab520b7778f32f9313940e26b102529..d909cd8c8f9e1fa690ad93871955c0381d53e5a4 100644 (file)
@@ -19,6 +19,7 @@
 #include "cmdmain.h"\r
 #include "cmdhfmfhard.h"\r
 #include "util.h"\r
 #include "cmdmain.h"\r
 #include "cmdhfmfhard.h"\r
 #include "util.h"\r
+#include "util_posix.h"\r
 #include "usb_cmd.h"\r
 #include "ui.h"\r
 #include "mifarehost.h"\r
 #include "usb_cmd.h"\r
 #include "ui.h"\r
 #include "mifarehost.h"\r
@@ -905,7 +906,7 @@ int CmdHF14AMfChk(const char *Cmd)
        char filename[FILE_PATH_SIZE]={0};\r
        char buf[13];\r
        uint8_t *keyBlock = NULL, *p;\r
        char filename[FILE_PATH_SIZE]={0};\r
        char buf[13];\r
        uint8_t *keyBlock = NULL, *p;\r
-       uint8_t stKeyBlock = 20;\r
+       uint16_t stKeyBlock = 20;\r
        \r
        int i, res;\r
        int     keycnt = 0;\r
        \r
        int i, res;\r
        int     keycnt = 0;\r
Impressum, Datenschutz