mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
latticeBitParser: fix loop type
This commit is contained in:
@@ -93,7 +93,7 @@ int LatticeBitParser::parse()
|
||||
_bit_length = _bit_data.size() * 8;
|
||||
|
||||
/* extract idcode from configuration data (area starting with 0xE2) */
|
||||
for (int i = 0; i < _bit_data.size();i++) {
|
||||
for (size_t i = 0; i < _bit_data.size();i++) {
|
||||
if ((uint8_t)_bit_data[i] != 0xe2)
|
||||
continue;
|
||||
/* E2: verif id */
|
||||
|
||||
Reference in New Issue
Block a user