Fix signed/unsigned comparison.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
a975b925ba
commit
20f0744f39
|
@ -805,7 +805,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
|
||||||
if (err!=ERROR_OK)
|
if (err!=ERROR_OK)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
int i;
|
unsigned i;
|
||||||
for (i=0; i<cur_size; i++)
|
for (i=0; i<cur_size; i++)
|
||||||
{
|
{
|
||||||
if (readback[i]!=chunk[i])
|
if (readback[i]!=chunk[i])
|
||||||
|
|
Loading…
Reference in New Issue