diff --git a/client/src/cmdlfhid.c b/client/src/cmdlfhid.c index 319fbc9e6..02ccd5801 100644 --- a/client/src/cmdlfhid.c +++ b/client/src/cmdlfhid.c @@ -388,7 +388,7 @@ static int CmdHIDClone(const char *Cmd) { packed.Mid = mid; packed.Bot = bot; } else if (bin_len) { - int res = binstring_to_u96(&top, &mid, &bot, bin); + int res = binstring_to_u96(&top, &mid, &bot, (const char*)bin); if (res != bin_len) { PrintAndLogEx(ERR, "Binary string contains none <0|1> chars"); return PM3_EINVARG;