aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index f390595886..9e4bfac9fe 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -480,7 +480,7 @@ device_init(prom_register_devices);
typedef struct RamDevice
{
SysBusDevice busdev;
- uint32_t size;
+ uint64_t size;
} RamDevice;
/* System RAM */
@@ -527,7 +527,7 @@ static SysBusDeviceInfo ram_info = {
.qdev.props = (Property[]) {
{
.name = "size",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_uint64,
.offset = offsetof(RamDevice, size),
},
{/* end of property list */}