mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-05 12:01:09 +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;
|
break;
|
||||||
|
|
||||||
size_t datalen = NUM_CSNS * 24;
|
size_t datalen = NUM_CSNS * 24;
|
||||||
void *dump = calloc(datalen, sizeof(uint8_t));
|
uint8_t *dump = calloc(datalen, sizeof(uint8_t));
|
||||||
if (!dump) {
|
if (!dump) {
|
||||||
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
||||||
return 2;
|
return 2;
|
||||||
|
@ -458,7 +458,7 @@ int CmdHFiClassSim(const char *Cmd) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
size_t datalen = NUM_CSNS * 24;
|
size_t datalen = NUM_CSNS * 24;
|
||||||
void *dump = calloc(datalen, sizeof(uint8_t));
|
uint8_t *dump = calloc(datalen, sizeof(uint8_t));
|
||||||
if (!dump) {
|
if (!dump) {
|
||||||
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
||||||
return 2;
|
return 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue