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/etb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/etb.c') diff --git a/src/target/etb.c b/src/target/etb.c index ba47c39a..489b9ed5 100644 --- a/src/target/etb.c +++ b/src/target/etb.c @@ -166,7 +166,7 @@ static void etb_getbuf(jtag_callback_data_t arg) { uint8_t *in = (uint8_t *)arg; - *((uint32_t *)in) = buf_get_u32(in, 0, 32); + *((uint32_t *)arg) = buf_get_u32(in, 0, 32); } -- cgit v1.2.3