mirror of
https://git.proxmox.com/git/libgit2
synced 2026-08-26 16:25:18 +00:00
Win32: Fix object::cache::threadmania test on x64
This commit is contained in:
@@ -84,7 +84,7 @@ void test_threads_refdb__iterator(void)
|
||||
|
||||
#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));
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -215,7 +215,7 @@ void test_threads_refdb__edit_while_iterate(void)
|
||||
}
|
||||
|
||||
for (t = 0; t < THREADS; ++t) {
|
||||
cl_git_pass(git_thread_join(th[t], NULL));
|
||||
cl_git_pass(git_thread_join(&th[t], NULL));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user