Skip to content

Commit 1e938e8

Browse files
committed
Fix build
MSVC is pretty picky there, so we add the `ZEND_VOIDP` cast.
1 parent dd30a3d commit 1e938e8

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
@@ -1106,7 +1106,7 @@ void zend_shutdown(void) /* {{{ */
11061106
CG(map_ptr_size) = 0;
11071107
}
11081108
if (CG(script_encoding_list)) {
1109-
free(CG(script_encoding_list));
1109+
free(ZEND_VOIDP(CG(script_encoding_list)));
11101110
CG(script_encoding_list) = NULL;
11111111
CG(script_encoding_list_size) = 0;
11121112
}

0 commit comments

Comments
 (0)