summaryrefslogtreecommitdiff
path: root/sys/v4l
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-15 21:49:53 (GMT)
committerBenjamin Otte <otte@redhat.com>2010-03-16 16:41:51 (GMT)
commit3bd4aa26ff4b2c39ae9262dcb6e8979880637963 (patch)
treee1f194907b772ca536b453d5c7ba8cc686d819ba /sys/v4l
parent5e21fa5e0e21d112a7e1c6fbed35d8669d37d061 (diff)
downloadgst-plugins-base-3bd4aa26ff4b2c39ae9262dcb6e8979880637963.tar.gz
gst-plugins-base-3bd4aa26ff4b2c39ae9262dcb6e8979880637963.tar.xz
Add -Wwrite-strings to configure
Fixes for the code included
Diffstat (limited to 'sys/v4l')
-rw-r--r--sys/v4l/gstv4lelement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l/gstv4lelement.c b/sys/v4l/gstv4lelement.c
index 27fae75..91776af 100644
--- a/sys/v4l/gstv4lelement.c
+++ b/sys/v4l/gstv4lelement.c
@@ -179,7 +179,7 @@ static gboolean
gst_v4l_class_probe_devices (GstV4lElementClass * klass, gboolean check)
{
if (!check) {
- gchar *dev_base[] = { "/dev/video", "/dev/v4l/video", NULL };
+ const gchar *dev_base[] = { "/dev/video", "/dev/v4l/video", NULL };
gint base, n, fd;
while (devices) {