From 40580e2d71ac56131a5da7e5f67a0b63450e4f24 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 19 Apr 2009 20:51:16 +0000 Subject: Zach Welch fix -Werror warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/feroceon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/feroceon.c') 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); -- cgit v1.2.3