Diff of /tests/cancel4.c [e470da] .. [e1de8e] Maximize Restore

  Switch to side-by-side view

--- a/tests/cancel4.c
+++ b/tests/cancel4.c
@@ -118,7 +118,7 @@
   for (bag->count = 0; bag->count < 20; bag->count++)
     Sleep(100);
 
-  return (void *) result;
+  return (void *) (size_t)result;
 }
 
 int
@@ -180,7 +180,7 @@
        * a return value of PTHREAD_CANCELED indicates that async
        * cancelation occurred.
        */
-      assert(pthread_join(t[i], (void **) &result) == 0);
+      assert(pthread_join(t[i], (void *) &result) == 0);
 
       fail = (result == (int) PTHREAD_CANCELED);