From df55631be9b37d4c22ec47ab8c6ea00f27d29aa4 Mon Sep 17 00:00:00 2001 From: achabense <60953653+achabense@users.noreply.github.com> Date: Mon, 14 Aug 2023 10:15:42 +0800 Subject: [PATCH] formatting --- stl/src/cthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/src/cthread.cpp b/stl/src/cthread.cpp index c68e1ec6fb0..fcf600dd331 100644 --- a/stl/src/cthread.cpp +++ b/stl/src/cthread.cpp @@ -119,9 +119,9 @@ _CRTIMP2_PURE _Thrd_result __cdecl _Thrd_create(_Thrd_t* thr, _Thrd_start_t func _Mtx_internal_imp_t mtx_storage{}; _Cnd_init_in_situ(reinterpret_cast<_Cnd_t>(&cond_storage)); _Mtx_init_in_situ(&mtx_storage, _Mtx_plain); - _Cnd_t cond = reinterpret_cast<_Cnd_t>(&cond_storage); _Mtx_t mtx = &mtx_storage; + b.func = func; b.data = d; b.cond = &cond;