summaryrefslogtreecommitdiff
path: root/src/flash
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
parenta975b925bac571b47ea452218cf9487b54a8a136 (diff)
downloadopenocd_libswd-20f0744f397198fd2a517135b888269811d16444.tar.gz
openocd_libswd-20f0744f397198fd2a517135b888269811d16444.tar.bz2
openocd_libswd-20f0744f397198fd2a517135b888269811d16444.tar.xz
openocd_libswd-20f0744f397198fd2a517135b888269811d16444.zip
Fix signed/unsigned comparison.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-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])