altera,libusb_ll,mcsParser: fix some compiler's warnings

This commit is contained in:
Gwenhael Goavec-Merou
2025-06-19 08:30:35 +02:00
parent 803bdfecce
commit 21d4fccf28
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -978,7 +978,7 @@ bool Altera::sectors_mask_start_end_addr(const Altera::max10_mem_t *mem,
}
/* decrement eaddr until last bit == 1 found */
for (uint8_t i = 3; i >= 0; i--) {
for (int8_t i = 3; i >= 0; i--) {
if (update_sectors & (1 << i)) {
end_bit = i + 1;
break;