Skip to content

Commit 1d609fa

Browse files
committed
commit: cast due to commit creation type changes
1 parent 57257cb commit 1d609fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/rugged/rugged_commit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ static VALUE rb_git_commit_create(VALUE self, VALUE rb_repo, VALUE rb_data)
564564
commit_data.message,
565565
commit_data.tree,
566566
commit_data.parent_count,
567-
commit_data.parents);
567+
(git_commit * const *) commit_data.parents);
568568

569569
cleanup:
570570
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)
813813
commit_data.message,
814814
commit_data.tree,
815815
commit_data.parent_count,
816-
commit_data.parents);
816+
(git_commit * const *) commit_data.parents);
817817

818818
cleanup:
819819
free_commit_options(&commit_data);

0 commit comments

Comments
 (0)