summaryrefslogtreecommitdiff
path: root/src/flash/str9xpec.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-19 08:16:58 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-19 08:16:58 +0000
commita88532bc6061ccc74ca08de161ec6fecf88a85b0 (patch)
tree7a1b0d1cf802cb5ed794340519d7103ec6270cd7 /src/flash/str9xpec.c
parent7d6b4b42f61debb058013c4179f29f7fa09d8548 (diff)
downloadopenocd+libswd-a88532bc6061ccc74ca08de161ec6fecf88a85b0.tar.gz
openocd+libswd-a88532bc6061ccc74ca08de161ec6fecf88a85b0.tar.bz2
openocd+libswd-a88532bc6061ccc74ca08de161ec6fecf88a85b0.tar.xz
openocd+libswd-a88532bc6061ccc74ca08de161ec6fecf88a85b0.zip
Zach Welch <zw@superlucidity.net> fix signed/unsigned comparisons
git-svn-id: svn://svn.berlios.de/openocd/trunk@1466 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/str9xpec.c')
-rw-r--r--src/flash/str9xpec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/str9xpec.c b/src/flash/str9xpec.c
index 0888e3e9..074d751c 100644
--- a/src/flash/str9xpec.c
+++ b/src/flash/str9xpec.c
@@ -687,8 +687,8 @@ static int str9xpec_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32
scan_field_t field;
u8 *scanbuf;
int i;
- u32 first_sector = 0;
- u32 last_sector = 0;
+ int first_sector = 0;
+ int last_sector = 0;
tap = str9xpec_info->tap;