diff options
author | Mamoru TASAKA <mtasaka@fedoraproject.org> | 2024-02-02 12:17:44 +0900 |
---|---|---|
committer | Mamoru TASAKA <mtasaka@fedoraproject.org> | 2024-02-02 12:17:44 +0900 |
commit | 72412c944b771f3214ddc40fa9dea82cea3a5651 (patch) | |
tree | c126955250b06869edc42104db083f0ed41ccee6 | |
parent | aeffd07ed6ac3ac320f159ee6e1ca30629f320bc (diff) |
gcc14 defaults to -Werror=incompatible-pointer-types .
Fix build error with this option.
-rw-r--r-- | telepathy-glib/protocol.c | 2 |
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++) { |