From 6b435870ded5c3dda4c4981b4c78e525aa188332 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 27 Oct 2000 10:48:07 +0000 Subject: [PATCH] type fixes to make compilers happy --- ext/zlib/zlib.c | 4 ++-- 1 file 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) { -- 2.40.0