summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 978fc0e7..2857ff6d 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -805,7 +805,7 @@ static int handle_flash_fill_command(struct command_context_s *cmd_ctx, char *cm
if (err!=ERROR_OK)
return err;
- int i;
+ unsigned i;
for (i=0; i<cur_size; i++)
{
if (readback[i]!=chunk[i])