From 29a8226ac5ce3504a60cfea71414105ef9f1e67c Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 29 Apr 2023 19:21:48 -0400 Subject: [PATCH] Fix building on OpenBSD 86c1f6e1e7e2abcc3f42e1182134e632b218b6d3 introduced code that had not been build tested on OpenBSD. https://bugs.dolphin-emu.org/issues/13241 --- Source/Core/Common/Thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;