From a9571d26b02e2a74c44878f6d579f580d6b390c1 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 25 Mar 2020 16:49:19 +0100 Subject: [PATCH] fix coverity 274113 --- client/cmdhficlass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 1dccaef5c..b7ebdca9f 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -867,7 +867,7 @@ static int CmdHFiClassDecrypt(const char *Cmd) { uint32_t limit = MIN(applimit, decryptedlen / 8); if (decryptedlen / 8 != applimit) { - PrintAndLogEx(WARNING, "Actual file len " _YELLOW_("%u") "vs HID app-limit len " _YELLOW_("%u"), decryptedlen, applimit * 8); + PrintAndLogEx(WARNING, "Actual file len " _YELLOW_("%zu") "vs HID app-limit len " _YELLOW_("%u"), decryptedlen, applimit * 8); PrintAndLogEx(INFO, "Setting limit to " _GREEN_("%u"), limit * 8); } uint8_t numblocks4userid = GetNumberBlocksForUserId(decrypted + (6 * 8));