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 4e1c4d6729..86ae5f6c3b 100644
--- a/tests/unit/check-qom-interface.c
+++ b/tests/unit/check-qom-interface.c
@@ -52,7 +52,7 @@ static const TypeInfo direct_impl_info = {
     .name = TYPE_DIRECT_IMPL,
     .parent = TYPE_OBJECT,
     .class_init = test_class_init,
-    .interfaces = (InterfaceInfo[]) {
+    .interfaces = (const InterfaceInfo[]) {
         { TYPE_TEST_IF },
         { }
     }