mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-31 10:16:11 +02:00
altera,libusb_ll,mcsParser: fix some compiler's warnings
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user