Message ID | 1594769.E4UY1AGBbv@polaris |
---|---|
State | New |
Headers | show |
Index: gcc.dg/tree-prof/val-profiler-threads-1.c =================================================================== --- gcc.dg/tree-prof/val-profiler-threads-1.c (revision 249619) +++ gcc.dg/tree-prof/val-profiler-threads-1.c (working copy) @@ -35,9 +35,9 @@ int main(int argc, char *argv[]) } } - int retval; + void *retval; for(t=0;t<NUM_THREADS;t++) - pthread_join (threads[t], (void**)&retval); + pthread_join (threads[t], &retval); return buffer[10]; }