diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp index 810db15d78..4c8a61b386 100644 --- a/Source/Core/Common/Thread.cpp +++ b/Source/Core/Common/Thread.cpp @@ -200,8 +200,8 @@ std::tuple GetCurrentThreadStack() stack_t stack; pthread_stackseg_np(self, &stack); - stack_addr = reinterpret_cast(stack->ss_sp) - stack->ss_size; - stack_size = stack->ss_size; + stack_addr = reinterpret_cast(stack.ss_sp) - stack.ss_size; + stack_size = stack.ss_size; #else pthread_attr_t attr;