summaryrefslogtreecommitdiff
path: root/src/input/input_file.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-09 11:44:00 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-09 11:44:00 +0200
commit4d7e574abefe9cd15c04cf0145faf55c9e282e83 (patch)
tree2482c29294c40da5d58d61fac8d9d774a7050d04 /src/input/input_file.c
parent72c64cd5c76febda45d95452276e11d60477103e (diff)
downloadxine-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/input/input_file.c')
-rw-r--r--src/input/input_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 1dce8baad..cc1e55c87 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -144,7 +144,7 @@ static int check_mmap_file(file_input_plugin_t *this) {
}
#endif
-static off_t file_plugin_read (input_plugin_t *this_gen, char *buf, off_t len) {
+static off_t file_plugin_read (input_plugin_t *this_gen, void *buf, off_t len) {
file_input_plugin_t *this = (file_input_plugin_t *) this_gen;
#ifdef HAVE_MMAP