summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm.c b/src/vm.c
index e184e7cc6..46c3ce0f5 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -264,7 +264,7 @@ top_proc(mrb_state *mrb, const struct RProc *proc)
static inline mrb_callinfo*
cipush(mrb_state *mrb, const mrb_code *pc, int push_stacks, int acc,
- struct RClass *target_class, struct RProc *proc, mrb_sym mid, int argc)
+ struct RClass *target_class, const struct RProc *proc, mrb_sym mid, int argc)
{
struct mrb_context *c = mrb->c;
mrb_callinfo *ci = c->ci;