summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
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");