mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 18:24:27 +08:00
remove compiler warnings
This commit is contained in:
parent
2215ac3cb2
commit
3a5c74d84c
1 changed files with 2 additions and 2 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue