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

  Switch to side-by-side view

--- a/tests/cancel2.c
+++ b/tests/cancel2.c
@@ -157,7 +157,7 @@
    */
   result += 1000;
 
-  return (void *) result;
+  return (void *) (size_t)result;
 }
 
 int
@@ -219,7 +219,7 @@
       int fail = 0;
       int result = 0;
 
-      assert(pthread_join(t[i], (void **) &result) == 0);
+      assert(pthread_join(t[i], (void *) &result) == 0);
       fail = (result != (int) PTHREAD_CANCELED);
       if (fail)
 	{