diff options
Diffstat (limited to 'Libraries/LibPthread/pthread.cpp')
-rw-r--r-- | Libraries/LibPthread/pthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibPthread/pthread.cpp b/Libraries/LibPthread/pthread.cpp index f3a17849b6..ebf50f78c8 100644 --- a/Libraries/LibPthread/pthread.cpp +++ b/Libraries/LibPthread/pthread.cpp @@ -383,7 +383,7 @@ int pthread_attr_getstack(const pthread_attr_t* attributes, void** p_stack_ptr, if (!attributes_impl || !p_stack_ptr || !p_stack_size) return EINVAL; - *p_stack_ptr = attributes_impl->m_stack_location; + *p_stack_ptr = attributes_impl->m_stack_location.ptr(); *p_stack_size = attributes_impl->m_stack_size; return 0; |