summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-08-11 13:27:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-11 13:27:02 -0700
commit4a636e7682ad46a4fe8eef71ae7917e0d95585f4 (patch)
treef46d6a00184519749898a06227944b210f0262c4 /builtin
parentMerge branch 'hb/gitweb-project-list' (diff)
parentrun_processes_parallel: change confusing task_cb convention (diff)
downloadtgif-4a636e7682ad46a4fe8eef71ae7917e0d95585f4.tar.xz
Merge branch 'js/run-process-parallel-api-fix'
API fix. * js/run-process-parallel-api-fix: run_processes_parallel: change confusing task_cb convention
Diffstat (limited to 'builtin')
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index af871f14e7..84562ec833 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -930,7 +930,7 @@ static int update_clone_task_finished(int result,
const struct cache_entry *ce;
struct submodule_update_clone *suc = suc_cb;
- int *idxP = *(int**)idx_task_cb;
+ int *idxP = idx_task_cb;
int idx = *idxP;
free(idxP);