mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
fixed stupid 64-bit formatting for x86/amd64 and unix/windows - part3
This commit is contained in:
parent
1a07fd510d
commit
a0bbdb76ca
2 changed files with 12 additions and 3 deletions
|
@ -25,13 +25,13 @@ static int CmdHelp(const char *Cmd);
|
|||
int CmdHFEPACollectPACENonces(const char *Cmd)
|
||||
{
|
||||
// requested nonce size
|
||||
uint8_t m = 0;
|
||||
unsigned int m = 0;
|
||||
// requested number of Nonces
|
||||
unsigned int n = 0;
|
||||
// delay between requests
|
||||
unsigned int d = 0;
|
||||
|
||||
sscanf(Cmd, "%"hhu" %u %u", &m, &n, &d);
|
||||
sscanf(Cmd, "%u %u %u", &m, &n, &d);
|
||||
|
||||
// values are expected to be > 0
|
||||
m = m > 0 ? m : 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue