diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 11:23:10 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-09 11:23:10 +0200 |
commit | 72c64cd5c76febda45d95452276e11d60477103e (patch) | |
tree | 877291741325e8b24f6299ae4f9ddb9d7372a9c9 | |
parent | 4f2f35a3d9164cc0485bb728f8ca4f2668cbcee2 (diff) | |
download | xine-lib-72c64cd5c76febda45d95452276e11d60477103e.tar.gz xine-lib-72c64cd5c76febda45d95452276e11d60477103e.tar.bz2 |
Make the read() function of input plugins be declared with void pointer as buf parameter, so that any kind of variable can be passed through it.
-rw-r--r-- | src/input/input_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 11e1303e7..66b3abbb9 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -118,7 +118,7 @@ struct input_plugin_s { * Should block until some bytes available for read; * a return value of 0 indicates no data available */ - off_t (*read) (input_plugin_t *this, char *buf, off_t nlen); + off_t (*read) (input_plugin_t *this, void *buf, off_t nlen); /* |