From 58a189b8c94447ffe8ea0464d371dc774113e44a Mon Sep 17 00:00:00 2001
From: Mitya Selivanov <0x7fffff@guattari.ru>
Date: Thu, 18 Aug 2022 17:16:13 +0400
Subject: [win32] Fix stack_size arg

---
 source/kit/threads.win32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source')

diff --git a/source/kit/threads.win32.c b/source/kit/threads.win32.c
index 910ee82..b8ca7ae 100644
--- a/source/kit/threads.win32.c
+++ b/source/kit/threads.win32.c
@@ -352,7 +352,7 @@ int thrd_create_with_stack(thrd_t *thr, thrd_start_t func, void *arg,
 }
 
 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) {
-  return thrd_create_with_stack(thr, func, arg);
+  return thrd_create_with_stack(thr, func, arg, 0);
 }
 
 // 7.25.5.2
-- 
cgit v1.2.3