Skip to content

Commit bf875fb

Browse files
committed
Fixed compilation warning
1 parent 865686f commit bf875fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ static void zend_resolve_property_types(void) /* {{{ */
781781
ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) {
782782
if (prop_info->type == IS_OBJECT && prop_info->type_name) {
783783
zend_class_entry *prop_ce =
784-
zend_hash_find(CG(class_table), prop_info->type_name);
784+
(zend_class_entry*)zend_hash_find(CG(class_table), prop_info->type_name);
785785

786786
assert(prop_ce && prop_ce->type == ZEND_INTERNAL_CLASS);
787787
prop_info->type_ce = prop_ce;

0 commit comments

Comments
 (0)