X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=submodule.c;h=52cdcc6a6347a786deafad34efdb9dc4dc3670ff;hb=406cc9b822b44a1d53c1a45536460992529aec88;hp=0fd10a0fdbf5d1af10819dea808b43f6b13b98a8;hpb=14ba45a2e68c296cb2b5bc5e77fdaa0846fb77de;p=git.git diff --git a/submodule.c b/submodule.c index 0fd10a0fd..52cdcc6a6 100644 --- a/submodule.c +++ b/submodule.c @@ -391,7 +391,7 @@ static void commit_need_pushing(struct commit *commit, struct commit_list *paren rev.diffopt.format_callback_data = needs_pushing; diff_tree_combined(commit->object.sha1, parents, n, 1, &rev); - free(parents); + free((void *)parents); } int check_submodule_needs_pushing(unsigned char new_sha1[20], const char *remotes_name)