diff options
Diffstat (limited to 'hw/gpio/zaurus.c')
-rw-r--r-- | hw/gpio/zaurus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/gpio/zaurus.c b/hw/gpio/zaurus.c index d853ea1..c6cdef3 100644 --- a/hw/gpio/zaurus.c +++ b/hw/gpio/zaurus.c @@ -287,6 +287,6 @@ static struct QEMU_PACKED sl_param_info { void sl_bootparam_write(hwaddr ptr) { - cpu_physical_memory_write(ptr, (void *)&zaurus_bootparam, + cpu_physical_memory_write(ptr, &zaurus_bootparam, sizeof(struct sl_param_info)); } |