summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2009-01-10 22:10:37 +0100
committerReinhard Nißl <rnissl@gmx.de>2009-01-10 22:10:37 +0100
commit2389267c73ec12bf71c501c354a0fbbd548489ed (patch)
tree6949ed88488c9bf576a0b0cc24cbd49d53e60aec
parent66afb5223d10d88331f2f0661a3cbcd6f5eccc26 (diff)
downloadxine-lib-2389267c73ec12bf71c501c354a0fbbd548489ed.tar.gz
xine-lib-2389267c73ec12bf71c501c354a0fbbd548489ed.tar.bz2
Cast away some compiler warnings.
-rw-r--r--src/vdr/input_vdr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vdr/input_vdr.c b/src/vdr/input_vdr.c
index 774f07193..e28858c52 100644
--- a/src/vdr/input_vdr.c
+++ b/src/vdr/input_vdr.c
@@ -1685,6 +1685,7 @@ static int vdr_plugin_get_optional_data(input_plugin_t *this_gen,
void *data, int data_type)
{
vdr_input_plugin_t *this = (vdr_input_plugin_t *)this_gen;
+ (void)this;
switch (data_type)
{
case INPUT_OPTIONAL_DATA_PREVIEW:
@@ -1710,10 +1711,10 @@ static inline const char *mrl_to_host (const char *mrl)
static int vdr_plugin_open_fifo_mrl(input_plugin_t *this_gen)
{
vdr_input_plugin_t *this = (vdr_input_plugin_t *)this_gen;
- char *filename = mrl_to_fifo (this->mrl);
+ char *filename = (char *)mrl_to_fifo (this->mrl);
if(!strcmp(filename, "/")) {
- filename = VDR_ABS_FIFO_DIR "/stream";
+ filename = (char *)VDR_ABS_FIFO_DIR "/stream";
}
filename = strdup(filename);