From: David Soria Parra Date: Fri, 26 Apr 2013 08:57:55 +0000 (+0200) Subject: Fix implicit uint* to int* conversion warning X-Git-Tag: php-5.5.0RC1~32^2~19^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3411fbbc51cbd3e014c0f19d34b89c23ad5ba905;p=php Fix implicit uint* to int* conversion warning --- 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);