summaryrefslogtreecommitdiff
path: root/src/dxr3/video_out_dxr3.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/dxr3/video_out_dxr3.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/dxr3/video_out_dxr3.c')
-rw-r--r--src/dxr3/video_out_dxr3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c
index 1944c1746..8b9b9ae36 100644
--- a/src/dxr3/video_out_dxr3.c
+++ b/src/dxr3/video_out_dxr3.c
@@ -366,7 +366,7 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v
dxr3_set_property(&this->vo_driver, VO_PROP_SATURATION, 500);
/* overlay or tvout? */
- confnum = config->register_enum(config, "dxr3.output.mode", 0, videoout_modes,
+ confnum = config->register_enum(config, "dxr3.output.mode", 0, (char **)videoout_modes,
_("video output mode (TV or overlay)"),
_("The way the DXR3 outputs the final video can be set here. The individual values are:\n\n"
"letterboxed tv\n"
@@ -440,7 +440,7 @@ static vo_driver_t *dxr3_vo_open_plugin(video_driver_class_t *class_gen, const v
}
/* init tvmode */
- confnum = config->register_enum(config, "dxr3.output.tvmode", 3, tv_modes,
+ confnum = config->register_enum(config, "dxr3.output.tvmode", 3, (char **)tv_modes,
_("preferred tv mode"), _("Selects the TV mode to be used by the DXR3. The values mean:\n\n"
"ntsc: NTSC at 60Hz\npal: PAL at 50Hz\npal60: PAL at 60Hz\ndefault: keep the card's setting"),
0, NULL, NULL);