summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-05 14:42:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-06-05 17:26:40 +0900
commitaa30b13b361a2b672317ef4c076c18698b623916 (patch)
treed4a2ef8d854dba150a7e536ace885f3949fcd044 /src
parent6ba542cd5371af4f0c3bf09c12438dc20d2454e1 (diff)
downloadmruby-aa30b13b361a2b672317ef4c076c18698b623916.tar.gz
mruby-aa30b13b361a2b672317ef4c076c18698b623916.zip
Change arena index from `mrb_int` to `int`.
Diffstat (limited to 'src')
-rw-r--r--src/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c
index 043c5a51c..307785982 100644
--- a/src/load.c
+++ b/src/load.c
@@ -211,7 +211,7 @@ static mrb_irep*
read_irep_record(mrb_state *mrb, const uint8_t *bin, size_t *len, uint8_t flags)
{
struct RData *irep_obj = mrb_data_object_alloc(mrb, mrb->object_class, NULL, &tempirep_type);
- mrb_int ai = mrb_gc_arena_save(mrb);
+ int ai = mrb_gc_arena_save(mrb);
mrb_irep *irep = read_irep_record_1(mrb, bin, len, flags);
int i;