Add `const` to `irep` pointer in `os_memsize_of_irep`; #5032

parent f00657ea
......@@ -183,7 +183,7 @@ os_memsize_of_ivars(mrb_state* mrb, mrb_value obj)
}
static mrb_int
os_memsize_of_irep(mrb_state* state, struct mrb_irep *irep)
os_memsize_of_irep(mrb_state* state, const struct mrb_irep *irep)
{
mrb_int size, i;
size = (irep->slen * sizeof(mrb_sym)) +
......
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