aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.dg/gcov/gcov-threads-1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C
index b020dd8..3ae0078 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);