Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /tests/cancel3.c [cccaf0] .. [ec8290] Maximize Restore

  Switch to side-by-side view

--- a/tests/cancel3.c
+++ b/tests/cancel3.c
@@ -126,7 +126,7 @@
   int i;
   pthread_t t[NUMTHREADS + 1];
 
-  assert ((t[0] = pthread_self ()) != NULL);
+  assert ((t[0] = pthread_self ()).p != NULL);
 
   for (i = 1; i <= NUMTHREADS; i++)
     {