PKGBUILDs/extra/calligra/libgit2-1.8.patch
2024-05-03 08:22:02 -04:00

13 lines
709 B
Diff

diff --git a/gemini/cloud/git/gitcontroller.cpp b/gemini/cloud/git/gitcontroller.cpp
index 9f65fd183a4..86473c0ea6a 100644
--- a/gemini/cloud/git/gitcontroller.cpp
+++ b/gemini/cloud/git/gitcontroller.cpp
@@ -404,7 +404,7 @@ void GitOpsThread::performPull()
git_commit_create(&commit_id, repository, "HEAD", d->signature, d->signature,
NULL, message.ptr,
- tree, 2, (const git_commit **) parents);
+ tree, 2, (git_commit * const *) parents);
git_tree_free(tree);
}
git_index_free(index);