summaryrefslogtreecommitdiff
path: root/src/input/input_v4l.c
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-03-10 16:36:55 +0100
committerTorsten Jager <t.jager@gmx.de>2014-03-10 16:36:55 +0100
commit9dc01446b018803415e0fe02b0f060b037e0738a (patch)
treeaf1041e41677ce01eb51fd4496a5b5f2c655584e /src/input/input_v4l.c
parent19ebd24e0d03f60a8a4f5aa90ff51021cae2b430 (diff)
downloadxine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.gz
xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.bz2
Silence compiler warnings on register_enum () arg #4.
Making them all "const char * const *" did work too (even with Kaffeine build/run), but that would be an API change.
Diffstat (limited to 'src/input/input_v4l.c')
-rw-r--r--src/input/input_v4l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c
index 79c7f34f8..a1e1d1233 100644
--- a/src/input/input_v4l.c
+++ b/src/input/input_v4l.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 the xine project
+ * Copyright (C) 2003-2014 the xine project
* Copyright (C) 2003 J.Asselman <j.asselman@itsec-ps.nl>
*
* This file is part of xine, a free video player.
@@ -1925,7 +1925,7 @@ static void *init_video_class (xine_t *xine, void *data)
10, NULL, NULL);
#endif
config->register_enum (config, "media.video4linux.tv_standard", 0 /* auto */,
- tv_standard_names, _("v4l TV standard"),
+ (char **)tv_standard_names, _("v4l TV standard"),
_("Selects the TV standard of the input signals. "
"Either: AUTO, PAL, NTSC or SECAM. "), 20, NULL, NULL);