aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/u2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/u2f.c')
-rw-r--r--hw/usb/u2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/u2f.c b/hw/usb/u2f.c
index 1fb59cf..b051a99 100644
--- a/hw/usb/u2f.c
+++ b/hw/usb/u2f.c
@@ -317,7 +317,7 @@ const VMStateDescription vmstate_u2f_key = {
}
};
-static void u2f_key_class_init(ObjectClass *klass, void *data)
+static void u2f_key_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);