diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-12-12 21:57:34 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-12-12 21:57:34 +0300 |
commit | 3893c1fc3d221f3954115de638db4be0e03e886c (patch) | |
tree | 265642b95f8c43465fbf315d425465480996f91f /Zend/zend_API.c | |
parent | 68cfeed70fad9c5d524bd95da2e08dc9a85f79a6 (diff) | |
download | php-git-3893c1fc3d221f3954115de638db4be0e03e886c.tar.gz |
Fixed compilation warnings
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 369852ffbe..2e13f3a20e 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1127,7 +1127,7 @@ ZEND_API void zend_merge_properties(zval *obj, HashTable *properties TSRMLS_DC) } /* }}} */ -static int zval_update_class_constant(zval *pp, int is_static, int offset TSRMLS_DC) /* {{{ */ +static int zval_update_class_constant(zval *pp, int is_static, uint32_t offset TSRMLS_DC) /* {{{ */ { ZVAL_DEREF(pp); if (Z_CONSTANT_P(pp)) { @@ -2195,7 +2195,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_functio internal_function->arg_info = (zend_internal_arg_info*)ptr->arg_info+1; internal_function->num_args = ptr->num_args; /* Currently you cannot denote that the function can accept less arguments than num_args */ - if (info->required_num_args == -1) { + if (info->required_num_args == (zend_uintptr_t)-1) { internal_function->required_num_args = ptr->num_args; } else { internal_function->required_num_args = info->required_num_args; |