Commit 7010aebb authored by Masamitsu MURASE's avatar Masamitsu MURASE

Modify allocation size of mrb->irep.

parent c9813490
......@@ -83,7 +83,7 @@ mrb_add_irep(mrb_state *mrb, int idx)
while (mrb->irep_capa <= idx) {
mrb->irep_capa *= 2;
}
mrb->irep = mrb_realloc(mrb, mrb->irep, sizeof(mrb_irep)*mrb->irep_capa);
mrb->irep = mrb_realloc(mrb, mrb->irep, sizeof(mrb_irep*)*mrb->irep_capa);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment