X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/61f97ca7ad5d1f06289fd053ecdabe4b52f37032..2715eb5fcf75ddcde9aec4ed7f6aea0e8d82029e:/client/cmdhf.c diff --git a/client/cmdhf.c b/client/cmdhf.c index b49b35e9..47203808 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -389,7 +389,7 @@ void annotateLegic(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize){ case 9: case 11: { uint8_t cmdBit = (cmd[1] & 1); - uint8_t address = (cmd[2] << 7) | cmd[1] >> 1; + uint16_t address = (cmd[2] << 7) | cmd[1] >> 1; if (cmdBit == LEGIC_READ) snprintf(exp, size, "READ Byte(%d)", address);