diff options
-rw-r--r-- | src/pulse/proplist.c | 2 | ||||
-rw-r--r-- | src/pulse/proplist.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/proplist.c b/src/pulse/proplist.c index 37877b4ea..0da127ef8 100644 --- a/src/pulse/proplist.c +++ b/src/pulse/proplist.c @@ -299,7 +299,7 @@ const char *pa_proplist_gets(pa_proplist *p, const char *key) { return (char*) prop->value; } -int pa_proplist_get(pa_proplist *p, const char *key, const void **data, size_t *nbytes) { +int pa_proplist_get(const pa_proplist *p, const char *key, const void **data, size_t *nbytes) { struct property *prop; pa_assert(p); diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index 14139a7e6..68900183c 100644 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -318,7 +318,7 @@ const char *pa_proplist_gets(pa_proplist *p, const char *key); * point to an internally allocated buffer. The caller should make a * copy of the data before the property list is accessed again. * Returns zero on success, negative on error. \since 0.9.11 */ -int pa_proplist_get(pa_proplist *p, const char *key, const void **data, size_t *nbytes); +int pa_proplist_get(const pa_proplist *p, const char *key, const void **data, size_t *nbytes); /** Update mode enum for pa_proplist_update(). \since 0.9.11 */ typedef enum pa_update_mode { |