diff --git a/ext/rugged/rugged_commit.c b/ext/rugged/rugged_commit.c index 704d72e29..dd89baea3 100644 --- a/ext/rugged/rugged_commit.c +++ b/ext/rugged/rugged_commit.c @@ -564,7 +564,7 @@ static VALUE rb_git_commit_create(VALUE self, VALUE rb_repo, VALUE rb_data) commit_data.message, commit_data.tree, commit_data.parent_count, - (git_commit * const *) commit_data.parents); + commit_data.parents); cleanup: free_commit_options(&commit_data); @@ -813,7 +813,7 @@ static VALUE rb_git_commit_create_to_s(VALUE self, VALUE rb_repo, VALUE rb_data) commit_data.message, commit_data.tree, commit_data.parent_count, - (git_commit * const *) commit_data.parents); + commit_data.parents); cleanup: free_commit_options(&commit_data); diff --git a/vendor/libgit2 b/vendor/libgit2 index 15668ba52..c6111ec06 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit 15668ba5203d99f22d2513e60796b42b6491d8ed +Subproject commit c6111ec06cc0b0126cd67bdab78f8091e4cfaa10