diff options
Diffstat (limited to 'src/input/input_net.c')
-rw-r--r-- | src/input/input_net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/input_net.c b/src/input/input_net.c index 4dfa63eda..b3d7a5396 100644 --- a/src/input/input_net.c +++ b/src/input/input_net.c @@ -247,8 +247,9 @@ static int host_connect(const char *host, int port, xine_t *xine) { #define HIGH_WATER_MARK 100 static off_t net_plugin_read (input_plugin_t *this_gen, - char *buf, off_t len) { + void *buf_gen, off_t len) { net_input_plugin_t *this = (net_input_plugin_t *) this_gen; + char *buf = (char *)buf_gen; off_t n, total; lprintf("reading %" PRIdMAX " bytes...\n", (intmax_t)len); |