return value from mrb_gc_arena_save() is int

This commit is contained in:
Yukihiro Matz Matsumoto
2013-03-11 23:55:41 +09:00
parent b783311ec4
commit 34fe9d0156
+1 -1
View File
@@ -917,7 +917,7 @@ inspect_ary(mrb_state *mrb, mrb_value ary, mrb_value list)
mrb_str_buf_cat(mrb, arystr, head, sizeof(head));
for(i=0; i<RARRAY_LEN(ary); i++) {
mrb_int ai = mrb_gc_arena_save(mrb);
int ai = mrb_gc_arena_save(mrb);
if (i > 0) {
mrb_str_buf_cat(mrb, arystr, sep, sizeof(sep));