diff options
-rw-r--r-- | compat/win32/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32/pthread.c b/compat/win32/pthread.c index 010e875ec..e18f5c6e2 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; } |