diff options
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r-- | thread_pthread.ci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci index 17b9a81431..c259ba4493 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -230,7 +230,7 @@ native_thread_create(rb_thread_t *th) } else { pthread_attr_t attr; - size_t stack_size = 512 * 1024 - sizeof(int); /* 512KB */ + size_t stack_size = 512 * 1024; /* 512KB */ #ifdef PTHREAD_STACK_MIN if (stack_size < PTHREAD_STACK_MIN) { |