summaryrefslogtreecommitdiffstats
path: root/src/pulse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse.c')
-rw-r--r--src/pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse.c b/src/pulse.c
index 524ac1e..11d6e52 100644
--- a/src/pulse.c
+++ b/src/pulse.c
@@ -381,7 +381,7 @@ int driver_destroy(ca_context *c) {
return CA_SUCCESS;
}
-int driver_change_device(ca_context *c, char *device) {
+int driver_change_device(ca_context *c, const char *device) {
ca_return_val_if_fail(c, CA_ERROR_INVALID);
ca_return_val_if_fail(c->private, CA_ERROR_STATE);