cvs: php4 /ext/standard file.c
| From: | Wez Furlong | Date: | Sat, 18 Jan 2003 14:10:22 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17993@lists.php.net to get a copy of this message | ||
wez Sat Jan 18 09:10:22 2003 EDT
Modified files:
/php4/ext/standard file.c
Log:
Fix potential problem for 64-bit architectures.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.293 php4/ext/standard/file.c:1.294
--- php4/ext/standard/file.c:1.293 Sat Jan 18 08:55:58 2003
+++ php4/ext/standard/file.c Sat Jan 18 09:10:22 2003
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.293 2003/01/18 13:55:58 derick Exp $ */
+/* $Id: file.c,v 1.294 2003/01/18 14:10:22 wez Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1482,7 +1482,8 @@
{
int result;
zval **file_handle, **format_string;
- int len, type;
+ size_t len;
+ int type;
char *buf;
void *what;