diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 01:46:41 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 01:46:41 +0000 |
commit | 1db8aa445fdab9168bf649225feef804761132b1 (patch) | |
tree | b466b9641d2083411567203cfc123198f26e7854 /src/input/input_http.c | |
parent | f945ec50a244d3a7ecee47e6535aeb02afb17930 (diff) | |
download | xine-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_http.c')
-rw-r--r-- | src/input/input_http.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c index 07a38f60b..24b7df78c 100644 --- a/src/input/input_http.c +++ b/src/input/input_http.c @@ -19,7 +19,7 @@ * * input plugin for http network streams * - * $Id: input_http.c,v 1.118 2006/06/06 16:39:25 mshopf Exp $ + * $Id: input_http.c,v 1.119 2006/06/20 01:46:41 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -286,7 +286,7 @@ static int http_plugin_read_metainf (http_input_plugin_t *this) { xine_ui_data_t data; /* get the length of the metadata */ - if (_x_io_tcp_read (this->stream, this->fh, &len, 1) != 1) + if (_x_io_tcp_read (this->stream, this->fh, (char*)&len, 1) != 1) return 0; lprintf ("http_plugin_read_metainf: len=%d\n", len); @@ -439,7 +439,7 @@ static int resync_nsv(http_input_plugin_t *this) { lprintf("resyncing NSV stream\n"); while ((pos < 3) && (read_bytes < (1024*1024))) { - if (http_plugin_read_int(this, &c, 1) != 1) + if (http_plugin_read_int(this, (char*)&c, 1) != 1) return 1; this->preview[pos] = c; @@ -486,7 +486,7 @@ static buf_element_t *http_plugin_read_block (input_plugin_t *this_gen, fifo_buf buf->content = buf->mem; buf->type = BUF_DEMUX_BLOCK; - total_bytes = http_plugin_read (this_gen, buf->content, todo); + total_bytes = http_plugin_read (this_gen, (char*)buf->content, todo); if (total_bytes != todo) { buf->free_buffer (buf); |