]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
minor fixes
authormarshmellow42 <marshmellowrf@gmail.com>
Mon, 15 Jun 2015 04:44:57 +0000 (00:44 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Mon, 15 Jun 2015 04:44:57 +0000 (00:44 -0400)
see @icemant1001 -
https://github.com/iceman1001/proxmark3/commit/0ad1a1d492ab62eb42c1eb7b4ce6fff05d90e0a3
for more details

client/cmddata.c
client/cmdlfem4x.c

index 309044e10d48cefe327f028d83c4d13bca9e170c..aa1170fc739f24f5dc1b8f1216436c8aa17643d3 100644 (file)
@@ -392,7 +392,7 @@ int Cmdmandecoderaw(const char *Cmd)
        int errCnt=0;
        size_t size=0;
        int invert=0;
        int errCnt=0;
        size_t size=0;
        int invert=0;
-       size_t maxErr = 20;
+       int maxErr = 20;
        char cmdp = param_getchar(Cmd, 0);
        if (strlen(Cmd) > 5 || cmdp == 'h' || cmdp == 'H') {
                PrintAndLog("Usage:  data manrawdecode [invert] [maxErr]");
        char cmdp = param_getchar(Cmd, 0);
        if (strlen(Cmd) > 5 || cmdp == 'h' || cmdp == 'H') {
                PrintAndLog("Usage:  data manrawdecode [invert] [maxErr]");
index c492a64d52e5c4e056202302142836a2f893ae80..eddeec5604ea68229d68088f409f2193d244259a 100644 (file)
@@ -20,6 +20,9 @@
 #include "cmdlf.h"
 #include "cmdlfem4x.h"
 #include "lfdemod.h"
 #include "cmdlf.h"
 #include "cmdlfem4x.h"
 #include "lfdemod.h"
+
+#define llx PRIx64
+
 char *global_em410xId;
 
 static int CmdHelp(const char *Cmd);
 char *global_em410xId;
 
 static int CmdHelp(const char *Cmd);
Impressum, Datenschutz