kalle                                    Thu, 27 May 2010 23:24:06 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=299887

Log:
Fixed compiler warning (pointer mismatch)

Changed paths:
    U   php/php-src/trunk/ext/reflection/php_reflection.c

Modified: php/php-src/trunk/ext/reflection/php_reflection.c
===================================================================
--- php/php-src/trunk/ext/reflection/php_reflection.c   2010-05-27 23:12:44 UTC 
(rev 299886)
+++ php/php-src/trunk/ext/reflection/php_reflection.c   2010-05-27 23:24:06 UTC 
(rev 299887)
@@ -3286,7 +3286,7 @@
                /* this is necessary to make it able to work with default array
                * properties, returned to user */
                if (Z_TYPE_P(prop_copy) == IS_CONSTANT_ARRAY || 
(Z_TYPE_P(prop_copy) & IS_CONSTANT_TYPE_MASK) == IS_CONSTANT) {
-                       zval_update_constant(&prop_copy, 1 TSRMLS_CC);
+                       zval_update_constant(&prop_copy, (void *) 1 TSRMLS_CC);
                }

                add_assoc_zval(return_value, key, prop_copy);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to