Merge pull request #3571 from DidierA/aarch64

fixes compile fail on aarch64 (issue #3394)
This commit is contained in:
Iceman authored and GitHub committed 2026-09-01 23:30:40 +07:00
commit 0d8b99b2a1
1 file changed
+1 -1
+1 -1
View File
@@ -601,7 +601,7 @@ static int CmdMADEncode(const char *Cmd) {
memcpy(aid_str, val, 4);
uint16_t aid_val = (uint16_t)strtoul(aid_str, NULL, 16);
uint8_t sectors[40] = {0};
uint8_t sectors[48] = {0};
int nsectors = parse_sector_ranges(colon + 1, sectors, 40);
if (nsectors <= 0) {
PrintAndLogEx(ERR, "Invalid sector range in " _YELLOW_("'%s'"), val);