Change arena index from mrb_int to int.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-05 10:05:58 +09:00
parent b0e49ef79e
commit 00f6271e3b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6624,7 +6624,7 @@ dump_args(mrb_state *mrb, node *n, int offset)
static const char*
str_dump(mrb_state *mrb, const char *str, int len)
{
mrb_int ai = mrb_gc_arena_save(mrb);
int ai = mrb_gc_arena_save(mrb);
mrb_value s;
# if INT_MAX > MRB_INT_MAX / 4
/* check maximum length with "\xNN" charactor */
+1 -1
View File
@@ -12421,7 +12421,7 @@ dump_args(mrb_state *mrb, node *n, int offset)
static const char*
str_dump(mrb_state *mrb, const char *str, int len)
{
mrb_int ai = mrb_gc_arena_save(mrb);
int ai = mrb_gc_arena_save(mrb);
mrb_value s;
# if INT_MAX > MRB_INT_MAX / 4
/* check maximum length with "\xNN" charactor */