mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
chg: 'hf iclass sim' - void*, should be uin8_t*
This commit is contained in:
parent
4326d05674
commit
ad97aa3d29
1 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@ int CmdHFiClassSim(const char *Cmd) {
|
|||
break;
|
||||
|
||||
size_t datalen = NUM_CSNS * 24;
|
||||
void *dump = calloc(datalen, sizeof(uint8_t));
|
||||
uint8_t *dump = calloc(datalen, sizeof(uint8_t));
|
||||
if (!dump) {
|
||||
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
||||
return 2;
|
||||
|
@ -458,7 +458,7 @@ int CmdHFiClassSim(const char *Cmd) {
|
|||
break;
|
||||
|
||||
size_t datalen = NUM_CSNS * 24;
|
||||
void *dump = calloc(datalen, sizeof(uint8_t));
|
||||
uint8_t *dump = calloc(datalen, sizeof(uint8_t));
|
||||
if (!dump) {
|
||||
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
||||
return 2;
|
||||
|
|
Loading…
Add table
Reference in a new issue