summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:13:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:13:43 +0000
commit7175a9073ea23abe565f606aa042ea015c7340b9 (patch)
treee45b4a7e274129e45db816f414ae7a4a797b95b1 /cont.c
parent9cce6d1071c3d84d07db891fab781620a287a9fe (diff)
* class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:
clean unused-value warnings. * cont.c, process.c, vm_exec.h: clean cast warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 962ea03664..17f0ccc617 100644
--- a/cont.c
+++ b/cont.c
@@ -564,7 +564,7 @@ fiber_initialize_machine_stack_context(rb_fiber_t *fib, size_t size)
getcontext(context);
ptr = fiber_machine_stack_alloc(size);
context->uc_link = NULL;
- context->uc_stack.ss_sp = ptr;
+ context->uc_stack.ss_sp = (char *)ptr;
context->uc_stack.ss_size = size;
makecontext(context, rb_fiber_start, 0);
sth->machine_stack_start = ptr + STACK_DIR_UPPER(0, size / sizeof(VALUE));