dmitry Mon Apr 9 15:34:55 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/spl spl_directory.c
Log:
Fixed 64-bit support
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.27.2.19&r2=1.45.2.27.2.20&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.45.2.27.2.19
php-src/ext/spl/spl_directory.c:1.45.2.27.2.20
--- php-src/ext/spl/spl_directory.c:1.45.2.27.2.19 Sun Mar 4 14:01:06 2007
+++ php-src/ext/spl/spl_directory.c Mon Apr 9 15:34:55 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.45.2.27.2.19 2007/03/04 14:01:06 helly Exp $ */
+/* $Id: spl_directory.c,v 1.45.2.27.2.20 2007/04/09 15:34:55 dmitry Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -595,7 +595,8 @@
{
spl_filesystem_object *intern =
(spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
char *fname, *suffix = 0;
- int flen, slen = 0;
+ size_t flen;
+ int slen = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix,
&slen) == FAILURE) {
return;
@@ -621,7 +622,8 @@
{
spl_filesystem_object *intern =
(spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
char *suffix = 0, *fname;
- int slen = 0, flen;
+ int slen = 0;
+ size_t flen;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix,
&slen) == FAILURE) {
return;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php