Skip to content

Commit

Permalink
fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Oct 22, 2023
1 parent 9a9d2cf commit b857369
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/cmddata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, "---+---------------------------");
Expand Down

0 comments on commit b857369

Please sign in to comment.