diff options
Diffstat (limited to 'tests/cancel2.c')
-rw-r--r-- | tests/cancel2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel2.c b/tests/cancel2.c index d317ef9..dbc8c85 100644 --- a/tests/cancel2.c +++ b/tests/cancel2.c @@ -167,7 +167,7 @@ main() int i; pthread_t t[NUMTHREADS + 1]; - assert((t[0] = pthread_self()) != NULL); + assert((t[0] = pthread_self()).p != NULL); assert(pthread_mutex_lock(&waitLock) == 0); for (i = 1; i <= NUMTHREADS; i++) |