From 3a5c74d84cb87700cc7adb9c72a94c29939e4bf3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 7 May 2021 09:14:49 +0200 Subject: [PATCH] remove compiler warnings --- client/src/cmdlft55xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdlft55xx.c b/client/src/cmdlft55xx.c index 1105db297..fab5e143b 100644 --- a/client/src/cmdlft55xx.c +++ b/client/src/cmdlft55xx.c @@ -2347,7 +2347,7 @@ static int CmdT55xxRestore(const char *Cmd) { } size_t dlen = 0; - uint8_t *dump = NULL; + void *dump = NULL; DumpFileType_t dftype = getfiletype(filename); switch (dftype) { case BIN: { @@ -2364,7 +2364,7 @@ static int CmdT55xxRestore(const char *Cmd) { PrintAndLogEx(WARNING, "Fail, cannot allocate memory"); return PM3_EMALLOC; } - res = loadFileJSON(filename, (void *)dump, T55x7_BLOCK_COUNT * 4, &dlen, NULL); + res = loadFileJSON(filename, dump, T55x7_BLOCK_COUNT * 4, &dlen, NULL); break; } case DICTIONARY: {