X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bf7163bdb387693ea592c212c659bbb095f84cb4..65e344df3e787e8bf2fbc13d3859ca1a6e2292c3:/client/cmdlf.c?ds=sidebyside diff --git a/client/cmdlf.c b/client/cmdlf.c index 6511ba13..c278fb3d 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -362,7 +362,7 @@ int CmdLFRead(const char *Cmd) c.arg[0] = 1; } else if (*Cmd == '\0') { c.arg[0] = 0; - } else if (sscanf(Cmd, "%i", &c.arg[0]) != 1) { + } else if (sscanf(Cmd, "%"lli, &c.arg[0]) != 1) { PrintAndLog("use 'read' or 'read h', or 'read '"); return 0; }