From 9b0e70ca279aab3be921e16ac18d1588348661e8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 9 Oct 2019 14:28:52 +0200 Subject: [PATCH] fixes --- client/cmdlfawid.c | 2 +- client/cmdlfem4x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdlfawid.c b/client/cmdlfawid.c index 641c29720..5084edf6a 100644 --- a/client/cmdlfawid.c +++ b/client/cmdlfawid.c @@ -219,7 +219,7 @@ static int CmdAWIDDemod(const char *Cmd) { else if (idx == -4) PrintAndLogEx(DEBUG, "DEBUG: Error - AWID preamble not found"); else if (idx == -5) - PrintAndLogEx(DEBUG, "DEBUG: Error - AWID size not correct, size %d", size); + PrintAndLogEx(DEBUG, "DEBUG: Error - AWID size not correct, size %zu", size); else PrintAndLogEx(DEBUG, "DEBUG: Error - AWID error demoding fsk %d", idx); diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index 7d1266cdc..2bfb25eaa 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -692,7 +692,7 @@ static int CmdEM410xWrite(const char *Cmd) { // the clock rate in bits 8-15 of the card value card = (card & 0xFF) | ((clock1 << 8) & 0xFF00); } else if (card == 0) { - PrintAndLogEx(SUCCESS, "Writing %s tag with UID 0x%010" PRIx64, "(clock rate: %d)"; "T5555", id, clock1); + PrintAndLogEx(SUCCESS, "Writing %s tag with UID 0x%010" PRIx64, "(clock rate: %d)", "T5555", id, clock1); card = (card & 0xFF) | ((clock1 << 8) & 0xFF00); } else { PrintAndLogEx(FAILED, "Error! Bad card type selected.\n");