summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-05-27 23:24:06 (GMT)
committerKalle Sommer Nielsen <kalle@php.net>2010-05-27 23:24:06 (GMT)
commit49d74ebc6e75a6c8e175f72ab02db087710b6375 (patch)
tree6117928470b075e3a2d126893286ab0596c69884 /ext
parent91d5aaa51d64806c7b65bbd787890f54cabd3ef8 (diff)
downloadphp-49d74ebc6e75a6c8e175f72ab02db087710b6375.tar.gz
Fixed compiler warning (pointer mismatch)
Diffstat (limited to 'ext')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index c96f7a5..dd33452 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3286,7 +3286,7 @@ static void add_class_vars(zend_class_entry *ce, int statics, zval *return_value
/* 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);