aboutsummaryrefslogtreecommitdiff
path: root/src/flash/flash.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 09:14:01 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 09:14:01 +0000
commit20f0744f397198fd2a517135b888269811d16444 (patch)
tree2754ad6fd9cd65d6c5ed12628e7315f2277f9c98 /src/flash/flash.c
parenta975b925bac571b47ea452218cf9487b54a8a136 (diff)
downloadriscv-openocd-20f0744f397198fd2a517135b888269811d16444.zip
riscv-openocd-20f0744f397198fd2a517135b888269811d16444.tar.gz
riscv-openocd-20f0744f397198fd2a517135b888269811d16444.tar.bz2
Fix signed/unsigned comparison.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/flash.c')
-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 978fc0e..2857ff6 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])