com php-src: Fixed compilation warning: Zend/zend.c

From: Date: Thu, 26 May 2016 12:22:29 +0000
Subject: com php-src: Fixed compilation warning: Zend/zend.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95527@lists.php.net to get a copy of this message
Commit: bf875fb2266037107da421510f4c293a71004ae7 Author: Dmitry Stogov <dmitry@zend.com> Thu, 26 May 2016 15:22:29 +0300 Parents: 865686ff459b366fe1c82b6588bce50f3478121a Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf875fb2266037107da421510f4c293a71004ae7 Log: Fixed compilation warning Changed paths: M Zend/zend.c Diff: diff --git a/Zend/zend.c b/Zend/zend.c index 77f054d..269a048 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -781,7 +781,7 @@ static void zend_resolve_property_types(void) /* {{{ */ ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { if (prop_info->type == IS_OBJECT && prop_info->type_name) { zend_class_entry *prop_ce = - zend_hash_find(CG(class_table), prop_info->type_name); + (zend_class_entry*)zend_hash_find(CG(class_table), prop_info->type_name); assert(prop_ce && prop_ce->type == ZEND_INTERNAL_CLASS); prop_info->type_ce = prop_ce;

« previous php.cvs (#95527) next »