jtag: fix unsigned vs signed
This commit is contained in:
parent
98a2e836fa
commit
c1f18cd1d3
|
|
@ -320,7 +320,7 @@ int Jtag::shiftIR(unsigned char *tdi, unsigned char *tdo, int irlen, int end_sta
|
|||
* before targeted and irlength of each one
|
||||
*/
|
||||
int bypass_before = 0;
|
||||
for (int i = device_index + 1; i < _devices_list.size(); i++)
|
||||
for (unsigned int i = device_index + 1; i < _devices_list.size(); i++)
|
||||
bypass_before += _irlength_list[i];
|
||||
/* same for device after targeted device
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue