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 760a7bd33..54bf6097d 100644
--- a/tests/threads/thread_helpers.c
+++ b/tests/threads/thread_helpers.c
@@ -24,7 +24,7 @@ void run_in_parallel(
for (t = 0; t < threads; ++t) {
id[t] = t;
#ifdef GIT_THREADS
- cl_git_pass(git_thread_create(&th[t], NULL, func, &id[t]));
+ cl_git_pass(git_thread_create(&th[t], func, &id[t]));
#else
cl_assert(func(&id[t]) == &id[t]);
#endif