summary refs log tree commit diff stats
path: root/hw/isa/apm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/isa/apm.c')
-rw-r--r--hw/isa/apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/apm.c b/hw/isa/apm.c
index dfe9020d30..e34edb864c 100644
--- a/hw/isa/apm.c
+++ b/hw/isa/apm.c
@@ -68,7 +68,7 @@ const VMStateDescription vmstate_apm = {
     .name = "APM State",
     .version_id = 1,
     .minimum_version_id = 1,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_UINT8(apmc, APMState),
         VMSTATE_UINT8(apms, APMState),
         VMSTATE_END_OF_LIST()