summaryrefslogtreecommitdiff
path: root/tests/condvar8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar8.c')
-rw-r--r--tests/condvar8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/condvar8.c b/tests/condvar8.c
index 2ab67b3..572a5ac 100644
--- a/tests/condvar8.c
+++ b/tests/condvar8.c
@@ -158,7 +158,7 @@ main()
struct _timeb currSysTime;
const DWORD NANOSEC_PER_MILLISEC = 1000000;
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
assert(cvthing.notbusy == PTHREAD_COND_INITIALIZER);
@@ -171,7 +171,7 @@ main()
abstime.tv_sec += 10;
- assert((t[0] = pthread_self()) != NULL);
+ assert((t[0] = pthread_self()).p != NULL);
awoken = 0;