summaryrefslogtreecommitdiff
path: root/src/input/librtsp/rtsp_session.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/librtsp/rtsp_session.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/librtsp/rtsp_session.c')
-rw-r--r--src/input/librtsp/rtsp_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/librtsp/rtsp_session.c b/src/input/librtsp/rtsp_session.c
index 6571ab6b9..6ace06836 100644
--- a/src/input/librtsp/rtsp_session.c
+++ b/src/input/librtsp/rtsp_session.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2009 the xine project
+ * Copyright (C) 2000-2014 the xine project
*
* This file is part of xine, a free video player.
*
@@ -91,7 +91,7 @@ rtsp_session_t *rtsp_session_start(xine_stream_t *stream, char *mrl) {
uint32_t bandwidth;
bandwidth_id = xine->config->register_enum(xine->config, "media.network.bandwidth", 10,
- rtsp_bandwidth_strs,
+ (char **)rtsp_bandwidth_strs,
_("network bandwidth"),
_("Specify the bandwidth of your internet connection here. "
"This will be used when streaming servers offer different versions "