From 436810414630dd00c9881e06f0007f8f16973ca6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 18 Jun 2011 09:56:01 +0000 Subject: * vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 7c31505028..31172aa2f6 100644 --- a/vm.c +++ b/vm.c @@ -478,7 +478,7 @@ rb_vm_make_env_object(rb_thread_t * th, rb_control_frame_t *cfp) } void -rb_vm_stack_to_heap(rb_thread_t * const th) +rb_vm_stack_to_heap(const rb_thread_t *th) { rb_control_frame_t *cfp = th->cfp; while ((cfp = rb_vm_get_ruby_level_next_cfp(th, cfp)) != 0) { -- cgit v1.2.3