diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-19 20:51:16 +0000 |
commit | 40580e2d71ac56131a5da7e5f67a0b63450e4f24 (patch) | |
tree | e35583cefe3a40bfdc0cd2456565f273369b4a3f /src/target/feroceon.c | |
parent | 7989000e0969c1ccf69acbc3ce649a020bc1ee66 (diff) | |
download | openocd_libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.gz openocd_libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.bz2 openocd_libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.tar.xz openocd_libswd-40580e2d71ac56131a5da7e5f67a0b63450e4f24.zip |
Zach Welch <zw@superlucidity.net> fix -Werror warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/feroceon.c')
-rw-r--r-- | src/target/feroceon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/feroceon.c b/src/target/feroceon.c index c4fe17b2..8ef74c1d 100644 --- a/src/target/feroceon.c +++ b/src/target/feroceon.c @@ -517,7 +517,7 @@ int feroceon_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buf arm7_9_common_t *arm7_9 = armv4_5->arch_info; enum armv4_5_state core_state = armv4_5->core_state; u32 x, flip, shift, save[7]; - int i; + u32 i; /* * We can't use the dcc flow control bits, so let's transfer data @@ -547,7 +547,7 @@ int feroceon_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buf 0xeafffff3, /* b 3b */ }; - int dcc_size = sizeof(dcc_code); + u32 dcc_size = sizeof(dcc_code); if (!arm7_9->dcc_downloads) return target->type->write_memory(target, address, 4, count, buffer); |