context: pa_context_errno: constify

This commit is contained in:
Lyndon Brown 2018-06-07 03:51:09 +01:00 committed by Arun Raghavan
parent f727cd9ac0
commit ccf3d29264
2 changed files with 2 additions and 2 deletions

View file

@ -1068,7 +1068,7 @@ pa_context_state_t pa_context_get_state(const pa_context *c) {
return c->state;
}
int pa_context_errno(pa_context *c) {
int pa_context_errno(const pa_context *c) {
if (!c)
return PA_ERR_INVALID;