From 1407e52ba4915ed7f251dec548b5e68f2a5a6a6e Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 14 Dec 2016 08:06:55 +0000 Subject: 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 --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_dump.c') diff --git a/vm_dump.c b/vm_dump.c index 179c132a74..f843371390 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; -- cgit v1.2.3