context: pa_context_get_server: constify

This commit is contained in:
Lyndon Brown 2018-06-07 03:55:42 +01:00 committed by Tanu Kaskinen
parent 792c2f0d7b
commit b4b37a0e66
2 changed files with 2 additions and 2 deletions

View file

@ -1319,7 +1319,7 @@ const char* pa_get_library_version(void) {
return pa_get_headers_version();
}
const char* pa_context_get_server(pa_context *c) {
const char* pa_context_get_server(const pa_context *c) {
pa_assert(c);
pa_assert(PA_REFCNT_VALUE(c) >= 1);