summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-10-27 10:48:07 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-10-27 10:48:07 +0000
commit6b435870ded5c3dda4c4981b4c78e525aa188332 (patch)
tree1435bbeefe48f68d9bbbea09d0edf08a03152664 /ext
parent703a0c1159328ad3b50f4a7d06583a6edca8428d (diff)
downloadphp-git-6b435870ded5c3dda4c4981b4c78e525aa188332.tar.gz
type fixes to make compilers happy
Diffstat (limited to 'ext')
-rw-r--r--ext/zlib/zlib.c4
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) {