mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-01 21:08:18 +08:00
FIX: minor variable fixes when compiling on linux.
cmddata.c: In function ‘Cmdmandecoderaw’: cmddata.c:420:2: warning: format ‘%i’ expects argument of type ‘int *’, but argument 4 has type ‘size_t *’ [-Wformat=] sscanf(Cmd, "%i %i", &invert, &maxErr); ^ cmdlfem4x.c: In function ‘CmdEM410xRead’: cmdlfem4x.c:58:2: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=] sprintf(id, "%010llx",lo); ^
This commit is contained in:
parent
32719adfa1
commit
0ad1a1d492
2 changed files with 4 additions and 1 deletions
|
@ -392,7 +392,7 @@ int Cmdmandecoderaw(const char *Cmd)
|
|||
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]");
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
#include "cmdlf.h"
|
||||
#include "cmdlfem4x.h"
|
||||
#include "lfdemod.h"
|
||||
|
||||
#define llx PRIx64
|
||||
|
||||
char *global_em410xId;
|
||||
|
||||
static int CmdHelp(const char *Cmd);
|
||||
|
|
Loading…
Reference in a new issue