mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-04-25 12:12:08 +00:00
convertion between size and int might cause type convertion confusing
This commit is contained in:
@@ -5186,7 +5186,7 @@ static int CmdHF14AMfEKeyPrn(const char *Cmd) {
|
||||
memcpy(uid, data, sizeof(uid));
|
||||
|
||||
// download keys from EMUL
|
||||
for (int i = 0; i < sectors_cnt; i++) {
|
||||
for (uint8_t i = 0; i < sectors_cnt; i++) {
|
||||
|
||||
if (mf_eml_get_mem(data, mfFirstBlockOfSector(i) + mfNumBlocksPerSector(i) - 1, 1) != PM3_SUCCESS) {
|
||||
PrintAndLogEx(WARNING, "error get block %d", mfFirstBlockOfSector(i) + mfNumBlocksPerSector(i) - 1);
|
||||
|
||||
Reference in New Issue
Block a user