fix some CodeQL warnings
This commit is contained in:
1 parent
8082cbbdcb
commit
623169fe02
15 files changed
+25
-27
No files matched your search
+2
-2
@@ -280,8 +280,8 @@ void print_blocks(uint32_t *data, size_t len) {
|
||||
if (!data) {
|
||||
PrintAndLogEx(ERR, "..empty data");
|
||||
} else {
|
||||
for (uint8_t i = 0; i < len; i++)
|
||||
PrintAndLogEx(SUCCESS, " %02d | %08X", i, data[i]);
|
||||
for (size_t i = 0; i < len; i++)
|
||||
PrintAndLogEx(SUCCESS, " %02zd | %08X", i, data[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user