summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-07-29 14:47:58 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-07-29 16:49:23 +0200
commit06cbdd80e087a117669383d4afb9be12bbf6add0 (patch)
treeb931588e2a73bac5cf95aa3f4f0ef8798f98c430 /tests
parent9a3567d5c0f6c451d008da003e64c5ba91e53842 (diff)
downloadgobject-introspection-06cbdd80e087a117669383d4afb9be12bbf6add0.tar.gz
build: enable -Wincompatible-pointer-types
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/annotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 0f3858f2..fb8b48f4 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -400,7 +400,7 @@ regress_annotation_object_get_objects (RegressAnnotationObject *object)
GObject*
regress_annotation_object_create_object (RegressAnnotationObject *object)
{
- return g_object_ref (object);
+ return G_OBJECT (g_object_ref (object));
}
/**