builtin/hash-object: convert to struct object_id
[gitweb.git] / builtin / submodule--helper.c
index af871f14e7b9d453c4d814ea3c7ff8e0a9f5e665..84562ec8337a49c823da6c641d73cd363a972f27 100644 (file)
@@ -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);