diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 064781104..3d5ea9e59 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -1299,7 +1299,7 @@ static int CmdHF15CSetUID(const char *Cmd) { return 1; } - if (strcmp(sprint_hex_inrow_ex(uid, 1, 2), "E0") != 0) { + if (uid[0] != 0xe0) { PrintAndLogEx(WARNING, "UID must begin with the byte 'E0'"); return 1; }