mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.2'
* PHP-8.2: ext/opcache/zend_jit: cast function to fix -Wincompatible-pointer-types (#10527)
This commit is contained in:
commit
bf809a918e
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ static void tsrm_win32_dtor(tsrm_win32_globals *globals)
|
||||||
TSRM_API void tsrm_win32_startup(void)
|
TSRM_API void tsrm_win32_startup(void)
|
||||||
{/*{{{*/
|
{/*{{{*/
|
||||||
#ifdef ZTS
|
#ifdef ZTS
|
||||||
ts_allocate_id(&win32_globals_id, sizeof(tsrm_win32_globals), (ts_allocate_ctor)tsrm_win32_ctor, (ts_allocate_ctor)tsrm_win32_dtor);
|
ts_allocate_id(&win32_globals_id, sizeof(tsrm_win32_globals), (ts_allocate_ctor)tsrm_win32_ctor, (ts_allocate_dtor)tsrm_win32_dtor);
|
||||||
#else
|
#else
|
||||||
tsrm_win32_ctor(&win32_globals);
|
tsrm_win32_ctor(&win32_globals);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -4847,7 +4847,7 @@ ZEND_EXT_API int zend_jit_debug_config(zend_long old_val, zend_long new_val, int
|
||||||
ZEND_EXT_API void zend_jit_init(void)
|
ZEND_EXT_API void zend_jit_init(void)
|
||||||
{
|
{
|
||||||
#ifdef ZTS
|
#ifdef ZTS
|
||||||
jit_globals_id = ts_allocate_id(&jit_globals_id, sizeof(zend_jit_globals), (ts_allocate_ctor) zend_jit_globals_ctor, zend_jit_globals_dtor);
|
jit_globals_id = ts_allocate_id(&jit_globals_id, sizeof(zend_jit_globals), (ts_allocate_ctor) zend_jit_globals_ctor, (ts_allocate_dtor) zend_jit_globals_dtor);
|
||||||
#else
|
#else
|
||||||
zend_jit_globals_ctor(&jit_globals);
|
zend_jit_globals_ctor(&jit_globals);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue