aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/threads.c b/common/threads.c
index 127b9083..6272dd9f 100644
--- a/common/threads.c
+++ b/common/threads.c
@@ -306,8 +306,8 @@ int alcnd_init(alcnd_t *cond)
InitRef(&icond->wait_count, 0);
- icond->events[SIGNAL] = CreateEvent(NULL, FALSE, FALSE, NULL);
- icond->events[BROADCAST] = CreateEvent(NULL, TRUE, FALSE, NULL);
+ icond->events[SIGNAL] = CreateEventW(NULL, FALSE, FALSE, NULL);
+ icond->events[BROADCAST] = CreateEventW(NULL, TRUE, FALSE, NULL);
if(!icond->events[SIGNAL] || !icond->events[BROADCAST])
{
if(icond->events[SIGNAL])