com php-src: Fix implicit uint* to int* conversion warning: Zend/zend_builtin_functions.c
| From: | David Soria Parra | Date: | Fri, 26 Apr 2013 08:57:55 +0000 |
| Subject: | com php-src: Fix implicit uint* to int* conversion warning: Zend/zend_builtin_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72041@lists.php.net to get a copy of this message | ||
Commit: 3411fbbc51cbd3e014c0f19d34b89c23ad5ba905
Author: David Soria Parra <dsp@php.net> Fri, 26 Apr 2013 10:57:55 +0200
Parents: bc50ba4bf971c62a1ff5b915a0c9f890b04c1087
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3411fbbc51cbd3e014c0f19d34b89c23ad5ba905
Log:
Fix implicit uint* to int* conversion warning
Changed paths:
M Zend/zend_builtin_functions.c
Diff:
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index d61aba1..47fb4d2 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);