Skip to content
Snippets Groups Projects
Commit 5846d12e authored by Barnabás Pőcze's avatar Barnabás Pőcze
Browse files

wpctl: fix types in variadic arguments

`wp_object_manager_add_interest()` passes the format string
and the arguments after that to `g_variant_new()`, which
requires a 32-bit integer for "u". Passing a 64-bit integer
will cause problems on certain ABIs.

Furthermore, remove the metadata related interest declaration
from `set_default_prepare()` since the "set-default" command
does not access metadata directly, it uses the "default-nodes-api"
plugin.

Fixes: 7784cfad ("wpctl: support @DEFAULT_{AUDIO,VIDEO}_{SINK,SOURCE}@ as ID ")
Fixes #773
parent f3bc7168
No related branches found
No related tags found
1 merge request!694wpctl: fix types in variadic arguments
Pipeline #1369516 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment