mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
fixed compiler warnings
This commit is contained in:
parent
ce02f6f992
commit
f66021cf48
3 changed files with 3 additions and 4 deletions
|
@ -596,9 +596,8 @@ static void waitCmd(uint8_t iSelect)
|
|||
return;
|
||||
hexout = (char *)malloc(iLen * 3 + 1);
|
||||
if (hexout != NULL) {
|
||||
uint8_t first, second;
|
||||
for (int i = 0; i < iLen; i++) { // data in hex
|
||||
sprintf(&hexout[i * 3], "%02hX ", recv[i]);
|
||||
sprintf(&hexout[i * 3], "%02X ", recv[i]);
|
||||
}
|
||||
PrintAndLog("%s", hexout);
|
||||
free(hexout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue