warnings: fix alignment warnings

These warnings are for architectures that do not
support non-aligned word access.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-09-03 22:49:37 +02:00
parent 32ab98c9e9
commit f6a3fc818b
13 changed files with 23 additions and 23 deletions

View File

@@ -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);
}