From c127c74ba12ffb62afa653710c574f28e469e7a7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Jun 2024 10:16:26 +0200 Subject: [PATCH 2/2] fix implicit int --- ext-src/php_swoole_call_stack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext-src/php_swoole_call_stack.h b/ext-src/php_swoole_call_stack.h index 8c89f8305..639a303d7 100644 --- a/ext-src/php_swoole_call_stack.h +++ b/ext-src/php_swoole_call_stack.h @@ -18,8 +18,8 @@ #ifdef ZEND_CHECK_STACK_LIMIT #define HOOK_PHP_CALL_STACK(callback) \ - auto __stack_limit = EG(stack_limit); \ - auto __stack_base = EG(stack_base); \ + void *__stack_limit = EG(stack_limit); \ + void *__stack_base = EG(stack_base); \ EG(stack_base) = (void *) 0; \ EG(stack_limit) = (void *) 0; \ callback EG(stack_limit) = __stack_limit; \ -- 2.45.1