diff options
author | jvoisin <julien.voisin@dustri.org> | 2019-01-08 22:08:40 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-09 10:01:12 +0100 |
commit | fbdaabba62e8a7068dd0212b79be3607746ff26b (patch) | |
tree | 7846102e9b20cba24c71238a18344ec501e5239d /ext/reflection | |
parent | 270e137ff006b32544de4dcd0554cfda50fe428a (diff) | |
download | php-git-fbdaabba62e8a7068dd0212b79be3607746ff26b.tar.gz |
Fix some sign-related issues in comparisons
Diffstat (limited to 'ext/reflection')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 9748594fa5..105a87da8b 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -2403,7 +2403,7 @@ ZEND_METHOD(reflection_parameter, __construct) ref = (parameter_reference*) emalloc(sizeof(parameter_reference)); ref->arg_info = &arg_info[position]; ref->offset = (uint32_t)position; - ref->required = position < fptr->common.required_num_args; + ref->required = (uint32_t)position < fptr->common.required_num_args; ref->fptr = fptr; /* TODO: copy fptr */ intern->ptr = ref; |