diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-15 13:36:49 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-15 13:36:49 +0200 |
commit | b0e29318df931e2651bd28f10087d36026795488 (patch) | |
tree | 16915f2d66d85241ec260584a3ef19fcc2e2bf8b /src | |
parent | 6d969c0dec307af61ca5413dbe7e47b25c4157e9 (diff) | |
download | xine-lib-b0e29318df931e2651bd28f10087d36026795488.tar.gz xine-lib-b0e29318df931e2651bd28f10087d36026795488.tar.bz2 |
Replace the void pointers with uint8_t pointers.
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c index cc1e55c87..d0e067393 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.c @@ -82,8 +82,8 @@ typedef struct { int fh; #ifdef HAVE_MMAP int mmap_on; - void *mmap_base; - void *mmap_curr; + uint8_t *mmap_base; + uint8_t *mmap_curr; off_t mmap_len; #endif char *mrl; @@ -223,7 +223,7 @@ static off_t file_plugin_seek (input_plugin_t *this_gen, off_t offset, int origi #ifdef HAVE_MMAP /* Simulate f*() library calls */ if ( check_mmap_file(this) ) { - void *new_point = this->mmap_curr; + uint8_t *new_point = this->mmap_curr; switch(origin) { case SEEK_SET: new_point = this->mmap_base + offset; break; case SEEK_CUR: new_point = this->mmap_curr + offset; break; |