mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
time is 64b better to accept the same size input timestamps
This commit is contained in:
parent
9b331b37ae
commit
49a475899a
3 changed files with 9 additions and 4 deletions
|
@ -233,7 +233,8 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
if (argc != 4) return usage(argv[0]);
|
||||
|
||||
uint64_t start_time = atoi(argv[1]);
|
||||
uint64_t start_time = 0;
|
||||
sscanf(argv[1], "%lu", &start_time);
|
||||
|
||||
uint8_t tag_challenge[16] = {0x00};
|
||||
if (hexstr_to_byte_array(argv[2], tag_challenge, sizeof(tag_challenge)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue