summary refs log tree commit diff stats
path: root/tests/unit/check-qom-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/check-qom-interface.c')
-rw-r--r--tests/unit/check-qom-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/check-qom-interface.c b/tests/unit/check-qom-interface.c
index c99be97ed8..4e1c4d6729 100644
--- a/tests/unit/check-qom-interface.c
+++ b/tests/unit/check-qom-interface.c
@@ -38,7 +38,7 @@ static const TypeInfo test_if_info = {
 
 #define PATTERN 0xFAFBFCFD
 
-static void test_class_init(ObjectClass *oc, void *data)
+static void test_class_init(ObjectClass *oc, const void *data)
 {
     TestIfClass *tc = TEST_IF_CLASS(oc);