mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
Khorben/warnings (#519)
* Fix warnings and missing #include for <ctype.h> * Avoid a warning in client/util.c
This commit is contained in:
parent
0f112d6f19
commit
3ded0f97d3
8 changed files with 14 additions and 12 deletions
|
@ -8,6 +8,7 @@
|
|||
// EMV commands
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <ctype.h>
|
||||
#include "cmdemv.h"
|
||||
#include "test/cryptotest.h"
|
||||
|
||||
|
@ -69,7 +70,7 @@ int CmdHFEMVSelect(const char *cmd) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (isxdigit(c)) {
|
||||
if (isxdigit((unsigned char)c)) {
|
||||
switch(param_gethex_to_eol(cmd, cmdp, data, sizeof(data), &datalen)) {
|
||||
case 1:
|
||||
PrintAndLog("Invalid HEX value.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue