Skip to content

Commit f922d35

Browse files
Fix a gcc warning in rb_git_remote_collection_each_name.
1 parent 469142d commit f922d35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/rugged/rugged_remote_collection.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ static VALUE rb_git_remote_collection_rename(VALUE self, VALUE rb_name_or_remote
251251
{
252252
VALUE rb_repo = rugged_owner(self);
253253
git_repository *repo;
254-
int i, error, exception;
254+
size_t i;
255+
int error, exception;
255256
git_strarray problems;
256257

257258
if (!rb_block_given_p())

0 commit comments

Comments
 (0)