summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 17:16:13 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-18 17:16:13 +0400
commit58a189b8c94447ffe8ea0464d371dc774113e44a (patch)
treef8368187c8e3b5b75e9efcabf3f66eb61d500bee
parenteb8a9a69d04c242c687cb8f2b3556fd3f6ed91ed (diff)
downloadkit-58a189b8c94447ffe8ea0464d371dc774113e44a.zip
[win32] Fix stack_size arg
-rw-r--r--source/kit/threads.win32.c2
1 files changed, 1 insertions, 1 deletions
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