diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 02:46:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 02:46:16 +0000 |
commit | df54a2e6be074957bcd1c19b4b9d19766da445de (patch) | |
tree | 4d1ae3a000d91dafbc2a7a31913a9939f7de94a5 /cont.c | |
parent | e2f2cf425c2802980d02f07075b1f7320bad305a (diff) | |
download | ruby-df54a2e6be074957bcd1c19b4b9d19766da445de.tar.gz |
* cont.c (fiber_set_stack_location), iseq.c (prepare_iseq_build),
node.c (dump_node): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -495,10 +495,10 @@ static void fiber_set_stack_location(void) { rb_thread_t *th = GET_THREAD(); - VALUE ptr; + VALUE *ptr; SET_MACHINE_STACK_END(&ptr); - th->machine_stack_start = (void*)((ptr & PAGE_MASK) + STACK_UPPER(&ptr, 0, PAGE_SIZE)); + th->machine_stack_start = (void*)(((VALUE)ptr & PAGE_MASK) + STACK_UPPER(&ptr, 0, PAGE_SIZE)); } static VOID CALLBACK |