From 0853f392a213ef2cecc71ef5349aab079e30f5a0 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 27 Jul 2021 14:14:05 -0400 Subject: [PATCH] Fix argument to pthread_join gcc/testsuite * g++.dg/gcov/gcov-threads-1.C: Fix argument to pthread_join. --- gcc/testsuite/g++.dg/gcov/gcov-threads-1.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C index b020dd87d4ca..3ae00789439b 100644 --- a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C +++ b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C @@ -36,7 +36,7 @@ int main(int argc, char **argv) { assert (r == 0); /* count(5*) */ } - int ret; + void *ret; for (int i = 0; i < NR; i++) { int r = pthread_join (t[i], (void**)&ret); -- 2.47.3