summary refs log tree commit diff stats
path: root/system/qtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/qtest.c')
-rw-r--r--system/qtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/qtest.c b/system/qtest.c
index 523a047995..b7689088a4 100644
--- a/system/qtest.c
+++ b/system/qtest.c
@@ -994,7 +994,7 @@ static char *qtest_get_chardev(Object *obj, Error **errp)
     return g_strdup(q->chr_name);
 }
 
-static void qtest_class_init(ObjectClass *oc, void *data)
+static void qtest_class_init(ObjectClass *oc, const void *data)
 {
     UserCreatableClass *ucc = USER_CREATABLE_CLASS(oc);