ext/rugged/rugged_remote_collection.c in rugged-0.22.0b5 vs ext/rugged/rugged_remote_collection.c in rugged-0.22.1b1
- old
+ new
@@ -249,10 +249,11 @@
*/
static VALUE rb_git_remote_collection_rename(VALUE self, VALUE rb_name_or_remote, VALUE rb_new_name)
{
VALUE rb_repo = rugged_owner(self);
git_repository *repo;
- int i, error, exception;
+ size_t i;
+ int error, exception;
git_strarray problems;
if (!rb_block_given_p())
rb_raise(rb_eArgError, "Rugged::RemoteCollection#rename must be called with a block");