mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
convertion between size and int might cause type convertion confusing
This commit is contained in:
parent
c847896a15
commit
b2983ba025
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue