summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2013-04-26 10:57:55 +0200
committerDavid Soria Parra <dsp@php.net>2013-04-26 10:57:55 +0200
commit3411fbbc51cbd3e014c0f19d34b89c23ad5ba905 (patch)
tree2173070e7331385b8c4449cf58353d0ae4e68891 /Zend/zend_builtin_functions.c
parentbc50ba4bf971c62a1ff5b915a0c9f890b04c1087 (diff)
downloadphp-git-3411fbbc51cbd3e014c0f19d34b89c23ad5ba905.tar.gz
Fix implicit uint* to int* conversion warning
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index d61aba14bd..47fb4d2d9b 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -1014,7 +1014,7 @@ ZEND_FUNCTION(get_object_vars)
while (zend_hash_get_current_data_ex(properties, (void **) &value, &pos) == SUCCESS) {
if (zend_hash_get_current_key_ex(properties, &key, &key_len, &num_index, 0, &pos) == HASH_KEY_IS_STRING) {
if (zend_check_property_access(zobj, key, key_len-1 TSRMLS_CC) == SUCCESS) {
- zend_unmangle_property_name_ex(key, key_len - 1, &class_name, &prop_name, &prop_len);
+ zend_unmangle_property_name_ex(key, key_len - 1, &class_name, &prop_name, (int*) &prop_len);
/* Not separating references */
Z_ADDREF_PP(value);
add_assoc_zval_ex(return_value, prop_name, prop_len + 1, *value);