Skip to content

Commit 890345e

Browse files
committed
fix spl_autoload_*
1 parent ca0e018 commit 890345e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/spl/php_spl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ PHP_FUNCTION(spl_autoload_call)
415415
zval *class_name, *retval = NULL;
416416
int class_name_len;
417417
char *func_name, *lc_name;
418-
uint func_name_len;
418+
zend_str_size_uint func_name_len;
419419
ulong dummy;
420420
HashPosition function_pos;
421421
autoload_func_info *alfi;
@@ -466,7 +466,7 @@ PHP_FUNCTION(spl_autoload_call)
466466
PHP_FUNCTION(spl_autoload_register)
467467
{
468468
char *func_name, *error = NULL;
469-
int func_name_len;
469+
zend_str_size_int func_name_len;
470470
char *lc_name = NULL;
471471
zval *zcallable = NULL;
472472
zend_bool do_throw = 1;

0 commit comments

Comments
 (0)