summaryrefslogtreecommitdiffstats
path: root/src/gstreamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer.c')
-rw-r--r--src/gstreamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gstreamer.c b/src/gstreamer.c
index caa28a6..f008849 100644
--- a/src/gstreamer.c
+++ b/src/gstreamer.c
@@ -178,7 +178,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(PRIVATE(c), CA_ERROR_STATE);