mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
correct string formatter in sscanf
This commit is contained in:
parent
b86e29fca1
commit
628140fd88
3 changed files with 3 additions and 3 deletions
|
@ -234,7 +234,7 @@ int main(int argc, char *argv[]) {
|
|||
if (argc != 4) return usage(argv[0]);
|
||||
|
||||
uint64_t start_time = 0;
|
||||
sscanf(argv[1], "%lu", &start_time);
|
||||
sscanf(argv[1], "%"PRIu64, &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