summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorjvoisin <julien.voisin@dustri.org>2019-01-08 22:08:40 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-01-09 10:01:12 +0100
commitfbdaabba62e8a7068dd0212b79be3607746ff26b (patch)
tree7846102e9b20cba24c71238a18344ec501e5239d /ext/reflection
parent270e137ff006b32544de4dcd0554cfda50fe428a (diff)
downloadphp-git-fbdaabba62e8a7068dd0212b79be3607746ff26b.tar.gz
Fix some sign-related issues in comparisons
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/php_reflection.c2
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;