From 9dc01446b018803415e0fe02b0f060b037e0738a Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Mon, 10 Mar 2014 16:36:55 +0100 Subject: 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. --- src/input/input_v4l.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_v4l.c') 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 * * 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); -- cgit v1.2.3