fixed compiler warnings

This commit is contained in:
roel@libnfc.org 2013-10-03 14:36:42 +00:00
commit f66021cf48
3 changed files with 3 additions and 4 deletions

View file

@ -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 <divisor>'");
return 0;
}