summary refs log tree commit diff stats
path: root/target/i386/whpx/whpx-accel-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/whpx/whpx-accel-ops.c')
-rw-r--r--target/i386/whpx/whpx-accel-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/whpx/whpx-accel-ops.c b/target/i386/whpx/whpx-accel-ops.c
index 81fdd06e48..b8bebe403c 100644
--- a/target/i386/whpx/whpx-accel-ops.c
+++ b/target/i386/whpx/whpx-accel-ops.c
@@ -83,7 +83,7 @@ static bool whpx_vcpu_thread_is_idle(CPUState *cpu)
     return !whpx_apic_in_platform();
 }
 
-static void whpx_accel_ops_class_init(ObjectClass *oc, void *data)
+static void whpx_accel_ops_class_init(ObjectClass *oc, const void *data)
 {
     AccelOpsClass *ops = ACCEL_OPS_CLASS(oc);