com php-src: fix spl_autoload_*: ext/spl/php_spl.c
| From: | Anatol Belski | Date: | Wed, 16 Oct 2013 09:30:27 +0000 |
| Subject: | com php-src: fix spl_autoload_*: ext/spl/php_spl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73519@lists.php.net to get a copy of this message | ||
Commit: 4f62adfb2c34172a0f9d343aa5e42b5e37e21475
Author: Anatol Belski <ab@php.net> Thu, 4 Jul 2013 06:41:48 -0700
Parents: 43e05efd3b5479846ef073b8426f709eeaad1bcd
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4f62adfb2c34172a0f9d343aa5e42b5e37e21475
Log:
fix spl_autoload_*
Changed paths:
M ext/spl/php_spl.c
Diff:
diff --git a/ext/spl/php_spl..c b/ext/spl/php_spl.c
index c149c4b..6b280d0 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -415,7 +415,7 @@ PHP_FUNCTION(spl_autoload_call)
zval *class_name, *retval = NULL;
int class_name_len;
char *func_name, *lc_name;
- uint func_name_len;
+ zend_str_size_uint func_name_len;
ulong dummy;
HashPosition function_pos;
autoload_func_info *alfi;
@@ -466,7 +466,7 @@ PHP_FUNCTION(spl_autoload_call)
PHP_FUNCTION(spl_autoload_register)
{
char *func_name, *error = NULL;
- int func_name_len;
+ zend_str_size_int func_name_len;
char *lc_name = NULL;
zval *zcallable = NULL;
zend_bool do_throw = 1;