summary refs log tree commit diff stats
path: root/hw/hyperv/syndbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/hyperv/syndbg.c')
-rw-r--r--hw/hyperv/syndbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hyperv/syndbg.c b/hw/hyperv/syndbg.c
index a410b55b9a..ca291826a0 100644
--- a/hw/hyperv/syndbg.c
+++ b/hw/hyperv/syndbg.c
@@ -373,7 +373,7 @@ static const Property hv_syndbg_properties[] = {
     DEFINE_PROP_BOOL("use_hcalls", HvSynDbg, use_hcalls, false),
 };
 
-static void hv_syndbg_class_init(ObjectClass *klass, void *data)
+static void hv_syndbg_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);