diff options
| author | Brad Smith <brad@comstyle.com> | 2023-04-29 19:21:48 -0400 |
|---|---|---|
| committer | Brad Smith <brad@comstyle.com> | 2023-04-29 19:21:48 -0400 |
| commit | 29a8226ac5ce3504a60cfea71414105ef9f1e67c (patch) | |
| tree | 49b0b0f0e61b69a038843f9d194b15aa52b1bf6f /Source/Core/Common/Thread.cpp | |
| parent | eb30aba552dbfd031e8e53a37da186c27755b756 (diff) | |
Fix building on OpenBSD
86c1f6e1e7e2abcc3f42e1182134e632b218b6d3 introduced code that had not
been build tested on OpenBSD.
https://bugs.dolphin-emu.org/issues/13241
Diffstat (limited to 'Source/Core/Common/Thread.cpp')
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 4 |
1 files 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<void*, size_t> GetCurrentThreadStack() stack_t stack; pthread_stackseg_np(self, &stack); - stack_addr = reinterpret_cast<u8*>(stack->ss_sp) - stack->ss_size; - stack_size = stack->ss_size; + stack_addr = reinterpret_cast<u8*>(stack.ss_sp) - stack.ss_size; + stack_size = stack.ss_size; #else pthread_attr_t attr; |
