diff options
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 |