diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 11:44:00 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 11:44:00 +0200 |
commit | 4d7e574abefe9cd15c04cf0145faf55c9e282e83 (patch) | |
tree | 2482c29294c40da5d58d61fac8d9d774a7050d04 /src/xine-engine/input_cache.c | |
parent | 72c64cd5c76febda45d95452276e11d60477103e (diff) | |
download | xine-lib-4d7e574abefe9cd15c04cf0145faf55c9e282e83.tar.gz xine-lib-4d7e574abefe9cd15c04cf0145faf55c9e282e83.tar.bz2 |
Convert all input plugins to use void * as type for the buf parameter of read() function, and declare a new buf variable in the function as needed.
Diffstat (limited to 'src/xine-engine/input_cache.c')
-rw-r--r-- | src/xine-engine/input_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/input_cache.c b/src/xine-engine/input_cache.c index 75c4beb43..7537c4d16 100644 --- a/src/xine-engine/input_cache.c +++ b/src/xine-engine/input_cache.c @@ -62,8 +62,9 @@ typedef struct { /* * read data from input plugin and write it into file */ -static off_t cache_plugin_read(input_plugin_t *this_gen, char *buf, off_t len) { +static off_t cache_plugin_read(input_plugin_t *this_gen, void *buf_gen, off_t len) { cache_input_plugin_t *this = (cache_input_plugin_t *)this_gen; + char *buf = (char *)buf_gen; off_t read_len = 0; off_t main_read; |