Skip to content

Commit 431e39f

Browse files
committed
fix: MSVC build error
1 parent 0f6078a commit 431e39f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ static zend_always_inline bool zend_thread_start(zend_thread_t *thread, zend_thr
488488
{
489489
zend_thread_start_ctx *ctx;
490490

491-
ctx = malloc(sizeof(*ctx));
491+
ctx = (zend_thread_start_ctx *) malloc(sizeof(*ctx));
492492
if (ctx == NULL) {
493493
return false;
494494
}

0 commit comments

Comments
 (0)