mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Remove unneeded type casts
cpu_physical_memory_read, cpu_physical_memory_write take any pointer as 2nd argument without needing a type cast. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
fd1ca7e0d5
commit
e1fe50dcb3
16 changed files with 37 additions and 38 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue