From 1e95f7038655419709893ac080a6c941aff301fa Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 5 Aug 2024 20:51:11 +0200 Subject: [PATCH] fix staticnested_1nt --- tools/mfc/card_only/staticnested_1nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mfc/card_only/staticnested_1nt.c b/tools/mfc/card_only/staticnested_1nt.c index e4da1c113..5bcc838c1 100644 --- a/tools/mfc/card_only/staticnested_1nt.c +++ b/tools/mfc/card_only/staticnested_1nt.c @@ -121,7 +121,7 @@ int main(int argc, char *const argv[]) { uint32_t keyCount = 0; uint32_t authuid = hex_to_uint32(argv[1]); - uint32_t sector = hex_to_uint32(argv[2]); + uint32_t sector = atoi(argv[2]); uint32_t nt = hex_to_uint32(argv[3]); uint32_t nt_enc = hex_to_uint32(argv[4]); uint8_t nt_par_err_arr[4];