From e39a8fb2d2da77bfa494415820d3719840693eda Mon Sep 17 00:00:00 2001 From: tezc Date: Wed, 14 Apr 2021 23:30:54 +0300 Subject: [PATCH] fix windows sc_cond --- condition/sc_cond.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/condition/sc_cond.c b/condition/sc_cond.c index 6e2f095..e3a279a 100644 --- a/condition/sc_cond.c +++ b/condition/sc_cond.c @@ -46,12 +46,12 @@ int sc_cond_init(struct sc_cond *c) int sc_cond_term(struct sc_cond *c) { - if (!c.init) { + if (!c->init) { return 0; } DeleteCriticalSection(&c->mtx); - c.init = false; + c->init = false; return 0; }