From f6a3fc818bc6a24b6c5bbcc6057f72d2b0b2e2ab Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Fri, 3 Sep 2010 22:49:37 +0200 Subject: warnings: fix alignment warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These warnings are for architectures that do not support non-aligned word access. Signed-off-by: Øyvind Harboe --- src/target/mips_m4k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/mips_m4k.c') diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 62c484a9..c0adc066 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -1000,7 +1000,7 @@ static int mips_m4k_bulk_write_memory(struct target *target, uint32_t address, } retval = mips32_pracc_fastdata_xfer(ejtag_info, source, write_t, address, - count, (uint32_t*) buffer); + count, (uint32_t*) (void *)buffer); if (retval != ERROR_OK) { /* FASTDATA access failed, try normal memory write */ -- cgit v1.2.3