summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-15 09:47:12 (GMT)
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-15 09:47:12 (GMT)
commit99b6ef932fc32412d4080e58b7a066dac083c086 (patch)
tree9df6ff33227b2e065b2d0fbb2c729d2552d16538 /vm_dump.c
parent59b3827325a93e2291946504db85b8e508bcff81 (diff)
vm_dump.c: fix warning about constness
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 67afcff..31d08be 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -141,7 +141,8 @@ void
rb_vmdebug_stack_dump_raw(const rb_execution_context_t *ec, const rb_control_frame_t *cfp)
{
#if 0
- VALUE *sp = cfp->sp, *ep = cfp->ep;
+ VALUE *sp = cfp->sp;
+ const VALUE *ep = cfp->ep;
VALUE *p, *st, *t;
fprintf(stderr, "-- stack frame ------------\n");