Sparc32/64: use 64 bit type for memory size
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/hw/sun4m.c b/hw/sun4m.c
index f390595..9e4bfac 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -480,7 +480,7 @@
typedef struct RamDevice
{
SysBusDevice busdev;
- uint32_t size;
+ uint64_t size;
} RamDevice;
/* System RAM */
@@ -527,7 +527,7 @@
.qdev.props = (Property[]) {
{
.name = "size",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_uint64,
.offset = offsetof(RamDevice, size),
},
{/* end of property list */}