mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 10:36:58 -07:00
fixed stupid 64-bit formatting for x86/amd64 and unix/windows - part2
This commit is contained in:
parent
125a98a110
commit
1a07fd510d
4 changed files with 7 additions and 5 deletions
|
@ -31,13 +31,13 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
|
|||
// delay between requests
|
||||
unsigned int d = 0;
|
||||
|
||||
sscanf(Cmd, "%hhu %u %u", &m, &n, &d);
|
||||
sscanf(Cmd, "%"hhu" %u %u", &m, &n, &d);
|
||||
|
||||
// values are expected to be > 0
|
||||
m = m > 0 ? m : 1;
|
||||
n = n > 0 ? n : 1;
|
||||
|
||||
PrintAndLog("Collecting %u %hhu-byte nonces", n, m);
|
||||
PrintAndLog("Collecting %u %"hhu"-byte nonces", n, m);
|
||||
PrintAndLog("Start: %u", time(NULL));
|
||||
// repeat n times
|
||||
for (unsigned int i = 0; i < n; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue