summaryrefslogtreecommitdiff
path: root/tests/threads/thread_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/thread_helpers.c')
-rw-r--r--tests/threads/thread_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/threads/thread_helpers.c b/tests/threads/thread_helpers.c
index 25370dddb..760a7bd33 100644
--- a/tests/threads/thread_helpers.c
+++ b/tests/threads/thread_helpers.c
@@ -32,7 +32,7 @@ void run_in_parallel(
#ifdef GIT_THREADS
for (t = 0; t < threads; ++t)
- cl_git_pass(git_thread_join(th[t], NULL));
+ cl_git_pass(git_thread_join(&th[t], NULL));
memset(th, 0, threads * sizeof(git_thread));
#endif