diff options
| -rw-r--r-- | ext/zlib/zlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 349f9fcdcb..5595eac42a 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -783,8 +783,8 @@ static ssize_t gz_writer(void *cookie, const char *buffer, size_t size) { return gzwrite(((struct gz_cookie *)cookie)->gz_file,(char *)buffer,size); } -static int gz_seeker(void *cookie,fpos_t position, int whence) { - return gzseek(((struct gz_cookie *)cookie)->gz_file,position,whence); +static int gz_seeker(void *cookie,off_t position, int whence) { + return gzseek(((struct gz_cookie *)cookie)->gz_file,(z_off_t)position,whence); } static int gz_closer(void *cookie) { |
