diff --git a/src/mapleall/maple_util/src/mpl_posix_sighandler.cpp b/src/mapleall/maple_util/src/mpl_posix_sighandler.cpp index a5af39cf097d83f2eb1b8509bf807e9eb078fd74..48f8841ed5d4f6fac8e0d82d3ba86fd4a8c86e21 100644 --- a/src/mapleall/maple_util/src/mpl_posix_sighandler.cpp +++ b/src/mapleall/maple_util/src/mpl_posix_sighandler.cpp @@ -287,7 +287,7 @@ static void InitAlternativeStack() { stack_t stack; constexpr size_t stackSizeMultiplier = 4; - constexpr size_t stackSize = stackSizeMultiplier * SIGSTKSZ; + size_t stackSize = stackSizeMultiplier * SIGSTKSZ; stack.ss_size = stackSize; stack.ss_sp = std::malloc(stackSize); if (stack.ss_sp == nullptr) {