Khorben/warnings (#519)

* Fix warnings and missing #include for <ctype.h>
* Avoid a warning in client/util.c
This commit is contained in:
Pierre Pronchery 2017-12-28 17:56:18 +01:00 committed by pwpiwi
commit 3ded0f97d3
8 changed files with 14 additions and 12 deletions

View file

@ -1089,7 +1089,7 @@ int CmdHF14AMfChk(const char *Cmd)
if( buf[0]=='#' ) continue; //The line start with # is comment, skip
if (!isxdigit(buf[0])){
if (!isxdigit((unsigned char)buf[0])){
PrintAndLog("File content error. '%s' must include 12 HEX symbols",buf);
continue;
}