mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
fix warning: passing argument 1 of ‘pa_proplist_iterate’ discards ‘const’ qualifier
in pipewire-pulseaudio/src/proplist.c for pulseaudio version < 13.0 Signed-off-by: Martin Koch <martin.koch@ese.de>
This commit is contained in:
parent
77860ef348
commit
2ae621c975
2 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ do { \
|
||||||
pa_proplist* pa_proplist_new_props(struct pw_properties *props);
|
pa_proplist* pa_proplist_new_props(struct pw_properties *props);
|
||||||
pa_proplist* pa_proplist_new_dict(struct spa_dict *dict);
|
pa_proplist* pa_proplist_new_dict(struct spa_dict *dict);
|
||||||
int pa_proplist_update_dict(pa_proplist *p, struct spa_dict *dict);
|
int pa_proplist_update_dict(pa_proplist *p, struct spa_dict *dict);
|
||||||
int pw_properties_update_proplist(struct pw_properties *props, const pa_proplist *p);
|
int pw_properties_update_proplist(struct pw_properties *props, PA_CONST pa_proplist *p);
|
||||||
|
|
||||||
struct pa_io_event {
|
struct pa_io_event {
|
||||||
struct spa_source *source;
|
struct spa_source *source;
|
||||||
|
|
|
||||||
|
|
@ -384,7 +384,7 @@ int pa_proplist_equal(PA_CONST pa_proplist *a, PA_CONST pa_proplist *b)
|
||||||
|
|
||||||
|
|
||||||
int pw_properties_update_proplist(struct pw_properties *props,
|
int pw_properties_update_proplist(struct pw_properties *props,
|
||||||
const pa_proplist *p)
|
PA_CONST pa_proplist *p)
|
||||||
{
|
{
|
||||||
void *state = NULL;
|
void *state = NULL;
|
||||||
const char *key, *val;
|
const char *key, *val;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue