context: pa_context_get_index: constify

This commit is contained in:
Lyndon Brown 2018-06-07 03:56:51 +01:00 committed by Tanu Kaskinen
parent b88a219f32
commit 351731c697
2 changed files with 2 additions and 2 deletions

View file

@ -1361,7 +1361,7 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta
return t;
}
uint32_t pa_context_get_index(pa_context *c) {
uint32_t pa_context_get_index(const pa_context *c) {
pa_assert(c);
pa_assert(PA_REFCNT_VALUE(c) >= 1);