diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-05 17:41:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:26 +0900 |
| commit | 0e50ea90f388a21be1203cfde0372ebd7331285e (patch) | |
| tree | f0a0a721b875b580c972e0635f930d4e1a36d7fd | |
| parent | 1eb71b008f3bef36449007aec239119e74314dac (diff) | |
| download | mruby-0e50ea90f388a21be1203cfde0372ebd7331285e.tar.gz mruby-0e50ea90f388a21be1203cfde0372ebd7331285e.zip | |
Add `const` specifier to `cipush()`; ref #5052
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
