aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/vmport.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/vmport.c')
-rw-r--r--hw/i386/vmport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/vmport.c b/hw/i386/vmport.c
index 2f19b97..6d93457 100644
--- a/hw/i386/vmport.c
+++ b/hw/i386/vmport.c
@@ -286,7 +286,7 @@ static const Property vmport_properties[] = {
DEFINE_PROP_UINT8("vmware-vmx-type", VMPortState, vmware_vmx_type, 2),
};
-static void vmport_class_initfn(ObjectClass *klass, void *data)
+static void vmport_class_initfn(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);