com php-src: fix spl_autoload_*: ext/spl/php_spl.c
| From: | Anatol Belski | Date: | Thu, 04 Jul 2013 13:41:48 +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-73661@lists.php.net to get a copy of this message | ||
Commit: 890345eda0ae8594b2429091576b423404d87a00
Author: Anatol Belski <ab@php.net> Thu, 4 Jul 2013 06:41:48 -0700
Parents: ca0e018c9567b1e6eb483710ca025c73a2bd41e5
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=890345eda0ae8594b2429091576b423404d87a00
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 7092af2..43ec5db 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;