mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -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
|
@ -16,6 +16,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include "util.h"
|
||||
#include "util_posix.h"
|
||||
#include "iso14443crc.h"
|
||||
|
@ -764,7 +765,7 @@ int CmdHF14AAPDU(const char *cmd) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (isxdigit(c)) {
|
||||
if (isxdigit((unsigned char)c)) {
|
||||
// len = data + PCB(1b) + CRC(2b)
|
||||
switch(param_gethex_to_eol(cmd, cmdp, data, sizeof(data) - 1 - 2, &datalen)) {
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue