mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-22 17:32:33 +00:00
chg: 'hf iclass sim' - void*, should be uin8_t*
This commit is contained in:
1 parent
4326d05674
commit
ad97aa3d29
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user