summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru TASAKA <mtasaka@fedoraproject.org>2024-02-02 12:17:44 +0900
committerMamoru TASAKA <mtasaka@fedoraproject.org>2024-02-02 12:17:44 +0900
commit72412c944b771f3214ddc40fa9dea82cea3a5651 (patch)
treec126955250b06869edc42104db083f0ed41ccee6
parentaeffd07ed6ac3ac320f159ee6e1ca30629f320bc (diff)
fix: build fix with -Werror=incompatible-pointer-typesHEADmaster
gcc14 defaults to -Werror=incompatible-pointer-types . Fix build error with this option.
-rw-r--r--telepathy-glib/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/protocol.c b/telepathy-glib/protocol.c
index 88fdff382..25b36620b 100644
--- a/telepathy-glib/protocol.c
+++ b/telepathy-glib/protocol.c
@@ -1791,7 +1791,7 @@ _tp_protocol_parse_manager_file (GKeyFile *file,
i++;
}
- param_specs = g_ptr_array_new_full (i, tp_value_array_free);
+ param_specs = g_ptr_array_new_full (i, (GDestroyNotify) tp_value_array_free);
for (key = keys; key != NULL && *key != NULL; key++)
{