summaryrefslogtreecommitdiff
path: root/boehm-gc/pthread_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/pthread_support.c')
-rw-r--r--boehm-gc/pthread_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c
index 8210357766c..57c8a16a1fa 100644
--- a/boehm-gc/pthread_support.c
+++ b/boehm-gc/pthread_support.c
@@ -1153,7 +1153,7 @@ GC_PTR GC_get_thread_stack_base()
# ifdef STACK_GROWS_DOWN
return stack_addr + stack_size;
# else
- return stack_addr - stack_size;
+ return stack_addr;
# endif
# else