com php-src: trivial fix spl_autoload_functions(): ext/spl/php_spl.c
| From: | Anatol Belski | Date: | Thu, 22 Aug 2013 13:48:55 +0000 |
| Subject: | com php-src: trivial fix spl_autoload_functions(): ext/spl/php_spl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73609@lists.php.net to get a copy of this message | ||
Commit: 320e82b603e10e090178acc0945f463926b4ad59
Author: Anatol Belski <ab@php.net> Thu, 22 Aug 2013 06:48:55 -0700
Parents: bfb0e87e2b9359c54cc8ea0e7776a61c428ef622
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=320e82b603e10e090178acc0945f463926b4ad59
Log:
trivial fix spl_autoload_functions()
Changed paths:
M ext/spl/php_spl.c
Diff:
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index b87603b..8afc866 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -749,7 +749,7 @@ PHP_FUNCTION(spl_autoload_functions)
add_next_index_string(return_value, alfi->func_ptr->common.function_name, 1);
} else {
char *key;
- uint len;
+ zend_str_size_uint len;
long dummy;
zend_hash_get_current_key_ex(SPL_G(autoload_functions), &key, &len, &dummy, 0,
&function_pos);
add_next_index_stringl(return_value, key, len - 1, 1);