diff options
Diffstat (limited to 'tests/condvar3.c')
-rw-r--r-- | tests/condvar3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar3.c b/tests/condvar3.c index 8fa9ef7..7a30531 100644 --- a/tests/condvar3.c +++ b/tests/condvar3.c @@ -120,7 +120,7 @@ main() assert(pthread_attr_init(&attr) == 0); assert(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED) == 0); - assert((t[0] = pthread_self()) != NULL); + assert((t[0] = pthread_self()).p != NULL); assert(pthread_cond_init(&cv, NULL) == 0); |