From b857369f7a6727c56c1fffdd6f12d354ec89e105 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 22 Oct 2023 14:19:01 +0200 Subject: [PATCH] fix some warnings --- client/src/cmddata.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/cmddata.c b/client/src/cmddata.c index ea37ccfd5..9d2f624d6 100644 --- a/client/src/cmddata.c +++ b/client/src/cmddata.c @@ -3478,11 +3478,12 @@ static int CmdBinaryMap(const char *Cmd) { CLIParserFree(ctx); char bits[(8 * 4) + 1] = {0}; - hextobinstring_n(bits, hex, hlen); + hextobinstring_n(bits, (char*)hex, hlen); int x = 0; - char *token = strtok(template, ","); + char *token = strtok((char*)template, ","); + // header PrintAndLogEx(INFO, "---+---------------------------"); PrintAndLogEx(INFO, " | b0 b1 b2 b3 b4 b5 b6 b7"); PrintAndLogEx(INFO, "---+---------------------------");