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/cleanup1.c [cccaf0] .. [ec8290] Maximize Restore

  Switch to side-by-side view

--- a/tests/cleanup1.c
+++ b/tests/cleanup1.c
@@ -98,7 +98,6 @@
 #ifdef __CLEANUP_C
 __cdecl
 #endif
-
 increment_pop_count(void * arg)
 {
   int * c = (int *) arg;
@@ -150,7 +149,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++)
     {