aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index c5d644908..dca397d1c 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = {
.qdev.props = (Property[]) {
{
.name = "version",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_hex32,
.offset = offsetof(ECCState, version),
.defval = (uint32_t[]) { -1 },
},