From c2b9e5fc4544a0745e24ffebe3fd9a03ac93315b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 26 Oct 2008 02:53:57 +0200 Subject: make _change_device() call take a const string --- src/gstreamer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gstreamer.c') 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); -- cgit