mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
emrtd: Switch from size_t to int to make CI happy
This commit is contained in:
parent
457311ffd9
commit
bc00e92af0
1 changed files with 2 additions and 2 deletions
|
@ -293,10 +293,10 @@ static void deskey(uint8_t *seed, const uint8_t *type, int length, uint8_t *data
|
||||||
}
|
}
|
||||||
|
|
||||||
static int select_file(const char *select_by, const char *file_id, bool use_14b) {
|
static int select_file(const char *select_by, const char *file_id, bool use_14b) {
|
||||||
size_t file_id_len = strlen(file_id) / 2;
|
int file_id_len = strlen(file_id) / 2;
|
||||||
|
|
||||||
char cmd[50];
|
char cmd[50];
|
||||||
sprintf(cmd, "00%s%s0C%02lu%s", SELECT, select_by, file_id_len, file_id);
|
sprintf(cmd, "00%s%s0C%02X%s", SELECT, select_by, file_id_len, file_id);
|
||||||
|
|
||||||
return exchange_commands_noout(cmd, false, true, use_14b);
|
return exchange_commands_noout(cmd, false, true, use_14b);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue