aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-02-07 16:14:27 -0800
committerChris Robinson <[email protected]>2016-02-07 16:14:27 -0800
commitf4fa41487c18ece49fddb512e3d9253e6eb1e92b (patch)
tree0b7df9ba19b469b63afb176cbc4b535782db2fad /common
parent6105d36fd79357053b8bbe7af207a58be8a73f04 (diff)
Replace some CreateEvent calls with CreateEventW
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])