pass the right types to the methods

This currently works because we accept void* for these functions but it
will fail when we will use the real types.
This commit is contained in:
Wim Taymans 2024-11-20 10:17:37 +01:00
parent 48ad0861e4
commit 8bfdd3c24a
4 changed files with 4 additions and 4 deletions

View file

@ -3859,7 +3859,7 @@ static void registry_event_global(void *data, uint32_t id,
pw_proxy_add_listener(proxy,
&c->metadata->proxy_listener,
&metadata_proxy_events, c);
pw_metadata_add_listener(proxy,
pw_metadata_add_listener(c->metadata->proxy,
&c->metadata->listener,
&metadata_events, c);
do_sync = true;