From: zwelch Date: Thu, 30 Apr 2009 09:14:01 +0000 (+0000) Subject: Fix signed/unsigned comparison. X-Git-Tag: v0.2.0~927 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20f0744f397198fd2a517135b888269811d16444;p=openocd Fix signed/unsigned comparison. git-svn-id: svn://svn.berlios.de/openocd/trunk@1577 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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