]> granicus.if.org Git - php/commitdiff
type fixes to make compilers happy
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 27 Oct 2000 10:48:07 +0000 (10:48 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 27 Oct 2000 10:48:07 +0000 (10:48 +0000)
ext/zlib/zlib.c

index 349f9fcdcb54ff469d379e26554f6a0fd4c8f978..5595eac42a896264809c2f54da66ae3947ef737c 100644 (file)
@@ -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) {