mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
fixes
This commit is contained in:
parent
9b0e70ca27
commit
0556c83570
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ static int CmdHIDDemod(const char *Cmd) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(DEBUG, "DEBUG: HID idx: %d, Len: %d, Printing Demod Buffer:", idx, size);
|
PrintAndLogEx(DEBUG, "DEBUG: HID idx: %d, Len: %zu, Printing Demod Buffer:", idx, size);
|
||||||
if (g_debugMode)
|
if (g_debugMode)
|
||||||
printDemodBuff();
|
printDemodBuff();
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ static int ndefDecodeSig(uint8_t *sig, size_t siglen) {
|
||||||
if (sigURI) {
|
if (sigURI) {
|
||||||
size_t intsigurilen = (sig[indx] << 8) + sig[indx + 1];
|
size_t intsigurilen = (sig[indx] << 8) + sig[indx + 1];
|
||||||
indx += 2;
|
indx += 2;
|
||||||
PrintAndLogEx(NORMAL, "\tsignature uri [%zu]: %.*s", intsigurilen, intsigurilen, &sig[indx]);
|
PrintAndLogEx(NORMAL, "\tsignature uri [%zu]: %.*s", intsigurilen, (int)intsigurilen, &sig[indx]);
|
||||||
indx += intsigurilen;
|
indx += intsigurilen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue