sysbus: fix address truncation
commit3f7132d1a35040331ae4541f010713b835be75e3
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 2 Oct 2010 14:27:41 +0000 (2 14:27 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 2 Oct 2010 14:27:41 +0000 (2 14:27 +0000)
treec91ee1faef87dc1ac6d7b38dfabad575decba290
parent211ecdc0e4226e86c406b0ce91ed355fdde021ab
sysbus: fix address truncation

Fix address truncation in sysbus by using a wider type.

Reported-by: Artyom Tarasenko <atar4qemu@googlemail.com>
Tested-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sysbus.c
hw/sysbus.h