diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-02-12 17:40:29 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-02-12 17:40:29 +0300 |
commit | 083cfc07cc13b1804ceeaa61f44319c598c05670 (patch) | |
tree | b90a0ea50faa692337469c63c7d2c33ba5b59f1f /sapi/phpdbg/phpdbg_utils.h | |
parent | 626bc3a2de517f4e0ae647324dd05ceacdfe776b (diff) | |
download | php-git-083cfc07cc13b1804ceeaa61f44319c598c05670.tar.gz |
Use TSRM macros
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.h')
-rw-r--r-- | sapi/phpdbg/phpdbg_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.h b/sapi/phpdbg/phpdbg_utils.h index 90648c429e..84b1f5c511 100644 --- a/sapi/phpdbg/phpdbg_utils.h +++ b/sapi/phpdbg/phpdbg_utils.h @@ -111,7 +111,7 @@ static zend_always_inline zend_execute_data *phpdbg_user_execute_data(zend_execu #define PHPDBG_OUTPUT_BACKUP_DEFINES() \ zend_output_globals *output_globals_ptr; \ zend_output_globals original_output_globals; \ - output_globals_ptr = (zend_output_globals *) (*((void ***) tsrm_get_ls_cache()))[TSRM_UNSHUFFLE_RSRC_ID(output_globals_id)]; + output_globals_ptr = TSRMG_BULK(output_globals_id, zend_output_globals *); #else #define PHPDBG_OUTPUT_BACKUP_DEFINES() \ zend_output_globals *output_globals_ptr; \ |