com php-src: Fix build: Zend/zend.c

From: Date: Wed, 22 Jul 2020 20:57:58 +0000
Subject: com php-src: Fix build: Zend/zend.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112328@lists.php.net to get a copy of this message
Commit: 1e938e8ebae8ddac47b371d6d9a11729dfe25c00 Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 22 Jul 2020 22:57:05 +0200 Parents: dd30a3d8cefba66a2282e312b06d1448a218a833 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1e938e8ebae8ddac47b371d6d9a11729dfe25c00 Log: Fix build MSVC is pretty picky there, so we add the ZEND_VOIDP cast. Changed paths: M Zend/zend.c Diff: diff --git a/Zend/zend.c b/Zend/zend.c index 33d58fd390..aef5a398b1 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -1106,7 +1106,7 @@ void zend_shutdown(void) /* {{{ */ CG(map_ptr_size) = 0; } if (CG(script_encoding_list)) { - free(CG(script_encoding_list)); + free(ZEND_VOIDP(CG(script_encoding_list))); CG(script_encoding_list) = NULL; CG(script_encoding_list_size) = 0; }

« previous php.cvs (#112328) next »