diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-06-05 10:05:58 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-06-05 14:40:07 +0900 |
| commit | 00f6271e3b0fa51daad6a3a14758a361a2ba604d (patch) | |
| tree | c4c15086ef09a915abfb823894e060e9cc5f857b | |
| parent | b0e49ef79e293000c1377983477b77268b4cf7f5 (diff) | |
| download | mruby-00f6271e3b0fa51daad6a3a14758a361a2ba604d.tar.gz mruby-00f6271e3b0fa51daad6a3a14758a361a2ba604d.zip | |
Change arena index from `mrb_int` to `int`.
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-compiler/core/y.tab.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 123c6c0c2..23fad6e8a 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -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 */ diff --git a/mrbgems/mruby-compiler/core/y.tab.c b/mrbgems/mruby-compiler/core/y.tab.c index 827f1123f..a22846e75 100644 --- a/mrbgems/mruby-compiler/core/y.tab.c +++ b/mrbgems/mruby-compiler/core/y.tab.c @@ -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 */ |
