diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-03-26 21:06:56 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-12 21:51:50 +0200 |
commit | 71d2b725e1f38162872b198992a61fa460978d77 (patch) | |
tree | fa544595f75830b390b0d1fa75250d3abfa35c4b /exec.c | |
parent | 3bad98147f84f2606afe2afb9d80ea15d3e1c39f (diff) | |
download | qemu-71d2b725e1f38162872b198992a61fa460978d77.zip qemu-71d2b725e1f38162872b198992a61fa460978d77.tar.gz qemu-71d2b725e1f38162872b198992a61fa460978d77.tar.bz2 |
exec: Remove a type cast which is no longer needed
All other type casts in calls of cpu_physical_memory_write are
used by hardware emulations and will be fixed by separate patches.
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4253,7 +4253,7 @@ void stw_phys(target_phys_addr_t addr, uint32_t val) void stq_phys(target_phys_addr_t addr, uint64_t val) { val = tswap64(val); - cpu_physical_memory_write(addr, (const uint8_t *)&val, 8); + cpu_physical_memory_write(addr, &val, 8); } /* virtual memory access for debug (includes writing to ROM) */ |