context: pa_context_is_pending: constify

This commit is contained in:
Lyndon Brown 2018-06-07 03:52:50 +01:00 committed by Tanu Kaskinen
parent e7c88ee169
commit 3b1ecb720d
2 changed files with 2 additions and 2 deletions

View file

@ -1106,7 +1106,7 @@ void pa_context_set_event_callback(pa_context *c, pa_context_event_cb_t cb, void
c->event_userdata = userdata;
}
int pa_context_is_pending(pa_context *c) {
int pa_context_is_pending(const pa_context *c) {
pa_assert(c);
pa_assert(PA_REFCNT_VALUE(c) >= 1);