]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
USB comm: prepare for @micolous change (PR#463) (#587)
[proxmark3-svn] / client / cmdhf14a.c
index 856d37b35c5a4182c875e2abc4cd3b8c8ac3db4a..480923d663a91f3de77531b67f2b5ddac4fcb2b9 100644 (file)
@@ -770,7 +770,7 @@ int CmdHF14AAPDU(const char *cmd) {
                                        return 1;
                        }
                        
                                        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:
                        // len = data + PCB(1b) + CRC(2b)
                        switch(param_gethex_to_eol(cmd, cmdp, data, sizeof(data) - 1 - 2, &datalen)) {
                        case 1:
Impressum, Datenschutz