From 5c4148ec158c4921e7733525c8214616662f8f96 Mon Sep 17 00:00:00 2001 From: Bjoern Kerler Date: Mon, 13 Apr 2020 23:56:04 +0200 Subject: [PATCH] Fixes after pull --- client/cmdhfmfdes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfdes.c b/client/cmdhfmfdes.c index 9105abf7d..bb55c16f0 100644 --- a/client/cmdhfmfdes.c +++ b/client/cmdhfmfdes.c @@ -1916,12 +1916,12 @@ static int CmdHF14ADesClearRecordFile(const char *Cmd) { arg_param_end }; CLIExecWithReturn(Cmd, argtable, false); - uint8_t fileno[] = {0}; + uint8_t fileno; int aidlength = 0; uint8_t aid[3] = {0}; CLIGetHexWithReturn(1, aid, &aidlength); int filenolen = 0; - CLIGetHexWithReturn(2, fileno, &filenolen); + CLIGetHexWithReturn(2, &fileno, &filenolen); int fidlength = 0; uint8_t fid[2] = {0}; CLIParamHexToBuf(arg_get_str(3), fid, 2, &fidlength);