diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 08:16:58 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 08:16:58 +0000 |
commit | a88532bc6061ccc74ca08de161ec6fecf88a85b0 (patch) | |
tree | 7a1b0d1cf802cb5ed794340519d7103ec6270cd7 /src/flash/stm32x.c | |
parent | 7d6b4b42f61debb058013c4179f29f7fa09d8548 (diff) |
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/stm32x.c')
-rw-r--r-- | src/flash/stm32x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index e9a582f2..2fa49c89 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -603,7 +603,7 @@ static int stm32x_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 c u32 address = bank->base + offset; u32 bytes_written = 0; u8 status; - u32 retval; + int retval; if (bank->target->state != TARGET_HALTED) { |