Fix more void prototypes in tests
[platform/upstream/glib.git] / tests / gobject / performance.c
index 053538f..e9310a5 100644 (file)
@@ -442,7 +442,7 @@ test_construction_setup (PerformanceTest *test)
   struct ConstructionTest *data;
 
   data = g_new0 (struct ConstructionTest, 1);
-  data->type = ((GType (*)())test->extra_data)();
+  data->type = ((GType (*)(void))test->extra_data)();
 
   return data;
 }