ruby-changes:51757
From: ktsj <ko1@a...>
Date: Sun, 15 Jul 2018 18:47:17 +0900 (JST)
Subject: [ruby-changes:51757] ktsj:r63969 (trunk): vm_dump.c: fix warning about constness
ktsj 2018-07-15 18:47:12 +0900 (Sun, 15 Jul 2018) New Revision: 63969 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63969 Log: vm_dump.c: fix warning about constness Modified files: trunk/vm_dump.c Index: vm_dump.c =================================================================== --- vm_dump.c (revision 63968) +++ vm_dump.c (revision 63969) @@ -141,7 +141,8 @@ void https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L141 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"); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/