aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/virt_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/virt_ctrl.c')
-rw-r--r--hw/misc/virt_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/virt_ctrl.c b/hw/misc/virt_ctrl.c
index e75d1e7e17..1a6c744bac 100644
--- a/hw/misc/virt_ctrl.c
+++ b/hw/misc/virt_ctrl.c
@@ -108,7 +108,7 @@ static const VMStateDescription vmstate_virt_ctrl = {
.name = "virt-ctrl",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(irq_enabled, VirtCtrlState),
VMSTATE_END_OF_LIST()
}