summaryrefslogtreecommitdiff
path: root/src/input/input_net.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 01:46:41 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 01:46:41 +0000
commit1db8aa445fdab9168bf649225feef804761132b1 (patch)
treeb466b9641d2083411567203cfc123198f26e7854 /src/input/input_net.c
parentf945ec50a244d3a7ecee47e6535aeb02afb17930 (diff)
downloadxine-lib-1db8aa445fdab9168bf649225feef804761132b1.tar.gz
xine-lib-1db8aa445fdab9168bf649225feef804761132b1.tar.bz2
Fix generic warnings.
CVS patchset: 8065 CVS date: 2006/06/20 01:46:41
Diffstat (limited to 'src/input/input_net.c')
-rw-r--r--src/input/input_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_net.c b/src/input/input_net.c
index 8490dacbd..b06160fed 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.66 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: input_net.c,v 1.67 2006/06/20 01:46:41 dgp85 Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -293,7 +293,7 @@ static buf_element_t *net_plugin_read_block (input_plugin_t *this_gen,
buf->content = buf->mem;
buf->type = BUF_DEMUX_BLOCK;
- total_bytes = net_plugin_read (this_gen, buf->content, todo);
+ total_bytes = net_plugin_read (this_gen, (char*)buf->content, todo);
if (total_bytes != todo) {
buf->free_buffer (buf);