fix some CodeQL warnings
This commit is contained in:
1 parent
8082cbbdcb
commit
623169fe02
15 files changed
+25
-27
No files matched your search
@@ -586,7 +586,7 @@ static int CmdIndalaSim(const char *Cmd) {
|
||||
memset(bs, 0x00, sizeof(bs));
|
||||
|
||||
uint8_t counter = 0;
|
||||
for (int8_t i = 0; i < raw_len; i++) {
|
||||
for (int32_t i = 0; i < raw_len; i++) {
|
||||
uint8_t tmp = raw[i];
|
||||
bs[counter++] = (tmp >> 7) & 1;
|
||||
bs[counter++] = (tmp >> 6) & 1;
|
||||
|
||||
Reference in new issue
Block a user