summary refs log tree commit diff stats
path: root/hw/usb/u2f-passthru.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/u2f-passthru.c')
-rw-r--r--hw/usb/u2f-passthru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/u2f-passthru.c b/hw/usb/u2f-passthru.c
index fc93429c9c..b7025d303d 100644
--- a/hw/usb/u2f-passthru.c
+++ b/hw/usb/u2f-passthru.c
@@ -512,7 +512,7 @@ static const VMStateDescription u2f_passthru_vmstate = {
     .version_id = 1,
     .minimum_version_id = 1,
     .post_load = u2f_passthru_post_load,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_U2F_KEY(base, U2FPassthruState),
         VMSTATE_END_OF_LIST()
     }