summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-14 08:06:55 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-14 08:06:55 (GMT)
commit1407e52ba4915ed7f251dec548b5e68f2a5a6a6e (patch)
tree43ce98766bacb739f913dd52c1f4f66c49e28f9b /vm_dump.c
parent07e7981d42e8e47997ebdaffb81f9282cce5739e (diff)
constify
* vm_dump.c (rb_vmdebug_debug_print_pre): constify pc argument for VMDEBUG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 179c132..f843371 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -336,7 +336,7 @@ rb_vmdebug_thread_dump_regs(VALUE thval)
}
void
-rb_vmdebug_debug_print_pre(rb_thread_t *th, rb_control_frame_t *cfp,VALUE *_pc)
+rb_vmdebug_debug_print_pre(rb_thread_t *th, rb_control_frame_t *cfp, const VALUE *_pc)
{
const rb_iseq_t *iseq = cfp->iseq;