summaryrefslogtreecommitdiff
path: root/compat/win32/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/win32/pthread.c')
-rw-r--r--compat/win32/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32/pthread.c b/compat/win32/pthread.c
index 010e875..e18f5c6 100644
--- a/compat/win32/pthread.c
+++ b/compat/win32/pthread.c
@@ -52,7 +52,7 @@ int win32_pthread_join(pthread_t *thread, void **value_ptr)
pthread_t pthread_self(void)
{
- pthread_t t = { 0 };
+ pthread_t t = { NULL };
t.tid = GetCurrentThreadId();
return t;
}