Skip to content

Commit 160a850

Browse files
committed
Account for key change in macos 15 to 32 bit
1 parent 67982fb commit 160a850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/tls/zend_jit_tls_darwin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ zend_result zend_jit_resolve_tsrm_ls_cache_offsets(
4242
"leaq __tsrm_ls_cache(%%rip),%0"
4343
: "=r" (ti));
4444
*module_offset = ti[2];
45-
*module_index = ti[1] * 8;
45+
*module_index = ((uint32_t)ti[1]) * 8;
4646

4747
return SUCCESS;
4848
#endif

0 commit comments

Comments
 (0)