From 24eeea62e7ff7cda1443da4294e264b60b55b7ff Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 29 Jan 2019 16:45:53 +0200 Subject: [PATCH] remote: use 0 for pw_proxy_new() user_data_size argument pw_proxy_new() expects a size for its user data structure as the last argument, not a proxy version --- src/pipewire/remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipewire/remote.c b/src/pipewire/remote.c index 67e78c116..64dcbb394 100644 --- a/src/pipewire/remote.c +++ b/src/pipewire/remote.c @@ -283,12 +283,12 @@ static int do_connect(struct pw_remote *remote) dummy.remote = remote; remote->core_proxy = (struct pw_core_proxy*)pw_proxy_new(&dummy, - PW_TYPE_INTERFACE_Core, PW_VERSION_CORE); + PW_TYPE_INTERFACE_Core, 0); if (remote->core_proxy == NULL) goto no_proxy; remote->client_proxy = (struct pw_client_proxy*)pw_proxy_new(&dummy, - PW_TYPE_INTERFACE_Client, PW_VERSION_CLIENT); + PW_TYPE_INTERFACE_Client, 0); if (remote->client_proxy == NULL) goto clean_core_proxy;