diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-04 07:18:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-04 07:18:01 +0000 |
commit | 52912db4a81f9b9b69ab9e9fcd95e22d086d4289 (patch) | |
tree | 664a5b8fb85a73fa2083e49bf8c4982e93586969 /ext/psych | |
parent | c8803b10d18fa4d28c7eba47c232004149779b26 (diff) |
ext: adjust index type
* ext: use long for index instead of int and RARRAY_LENINT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych')
-rw-r--r-- | ext/psych/psych_emitter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/psych_emitter.c b/ext/psych/psych_emitter.c index f77d8d7d86..ce6f63d16b 100644 --- a/ext/psych/psych_emitter.c +++ b/ext/psych/psych_emitter.c @@ -159,7 +159,7 @@ static VALUE start_document(VALUE self, VALUE version, VALUE tags, VALUE imp) } if(RTEST(tags)) { - int i = 0; + long i = 0; #ifdef HAVE_RUBY_ENCODING_H rb_encoding * encoding = rb_utf8_encoding(); #endif |