From cf287818f3df136911f9a9c7486b53451c83e78d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 5 Apr 2021 09:02:15 +0200 Subject: [PATCH] fix coverity 308279 --- client/src/cmdhfemrtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfemrtd.c b/client/src/cmdhfemrtd.c index feb8806e7..dde315418 100644 --- a/client/src/cmdhfemrtd.c +++ b/client/src/cmdhfemrtd.c @@ -1668,7 +1668,7 @@ static int emrtd_parse_ef_sod_hash_algo(uint8_t *data, size_t datalen, int *hash PrintAndLogEx(DEBUG, "trying: %s", hashalg_table[hashi].name); // We're only interested in checking if the length matches to avoid memory shenanigans if (hashalg_table[hashi].descriptorlen != hashalgosetlen) { - PrintAndLogEx(DEBUG, "len mismatch: %i", hashalgosetlen); + PrintAndLogEx(DEBUG, "len mismatch: %zu", hashalgosetlen); continue; }