cvs: php4 /ext/zlib zlib.c
| From: | Hartmut Holzgraefe | Date: | Fri, 27 Oct 2000 10:48:08 +0000 |
| Subject: | cvs: php4 /ext/zlib zlib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2297@lists.php.net to get a copy of this message | ||
hholzgra Fri Oct 27 03:48:08 2000 EDT
Modified files:
/php4/ext/zlib zlib.c
Log:
type fixes to make compilers happy
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.62 php4/ext/zlib/zlib.c:1.63
--- php4/ext/zlib/zlib.c:1.62 Wed Oct 25 10:44:02 2000
+++ php4/ext/zlib/zlib.c Fri Oct 27 03:48:07 2000
@@ -16,7 +16,7 @@
| Stefan Röhrich <sr@linux.de> |
+----------------------------------------------------------------------+
*/
-/* $Id: zlib.c,v 1.62 2000/10/25 17:44:02 andrei Exp $ */
+/* $Id: zlib.c,v 1.63 2000/10/27 10:48:07 hholzgra Exp $ */
#define IS_EXT_MODULE
#ifndef PHP_WIN32
@@ -783,8 +783,8 @@
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) {