diff options
author | Anatol Belski <ab@php.net> | 2014-09-15 11:40:18 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-15 12:58:42 +0200 |
commit | d3622c2445060cd61cc63f3e79d8737a6342ee73 (patch) | |
tree | 9feb0f7dedb778e82fabbd004daaa6e58ad7cb55 /Zend/zend_API.c | |
parent | d10bc5c005dbcdfd155068628fd1f99217f9bafe (diff) | |
download | php-git-d3622c2445060cd61cc63f3e79d8737a6342ee73.tar.gz |
fix signed/unsigned mismatch
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 9ddd3d67b6..5675c05d54 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2278,7 +2278,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_functio /* If types of arguments have to be checked */ if (reg_function->common.arg_info && reg_function->common.num_args) { - int i; + uint32_t i; for (i = 0; i < reg_function->common.num_args; i++) { if (reg_function->common.arg_info[i].class_name || reg_function->common.arg_info[i].type_hint) { @@ -3448,7 +3448,7 @@ ZEND_API int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_i ZEND_API void zend_fcall_info_args_clear(zend_fcall_info *fci, int free_mem) /* {{{ */ { if (fci->params) { - int i; + uint32_t i; for (i = 0; i < fci->param_count; i++) { zval_ptr_dtor(&fci->params[i]); @@ -3482,7 +3482,7 @@ ZEND_API void zend_fcall_info_args_restore(zend_fcall_info *fci, int param_count ZEND_API int zend_fcall_info_args_ex(zend_fcall_info *fci, zend_function *func, zval *args TSRMLS_DC) /* {{{ */ { zval *arg, *params; - int n = 1; + uint32_t n = 1; zend_fcall_info_args_clear(fci, !args); |