com php-src: trivial fix spl_autoload_functions(): ext/spl/php_spl.c
| From: | Anatol Belski | Date: | Wed, 16 Oct 2013 10:09:50 +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-73476@lists.php.net to get a copy of this message | ||
Commit: 179d696b350504650f7b498ba16f1bfaecee91ef
Author: Anatol Belski <ab@php.net> Thu, 22 Aug 2013 06:48:55 -0700
Parents: 4be4279c83650f378d44d9f9855ef1f266e436cd
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=179d696b350504650f7b498ba16f1bfaecee91ef
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);