From: Hartmut Holzgraefe Date: Fri, 27 Oct 2000 10:48:07 +0000 (+0000) Subject: type fixes to make compilers happy X-Git-Tag: php-4.0.4RC3~498 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b435870ded5c3dda4c4981b4c78e525aa188332;p=php type fixes to make compilers happy --- 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) {