]> granicus.if.org Git - php/commitdiff
Fix implicit uint* to int* conversion warning
authorDavid Soria Parra <dsp@php.net>
Fri, 26 Apr 2013 08:57:55 +0000 (10:57 +0200)
committerDavid Soria Parra <dsp@php.net>
Fri, 26 Apr 2013 08:57:55 +0000 (10:57 +0200)
Zend/zend_builtin_functions.c

index d61aba14bddb1cc454f48ea612839d94ee4698de..47fb4d2d9b548d0deb96dbf1445ab0be4dffd41e 100644 (file)
@@ -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);