diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-01 01:11:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-01 01:11:04 +0000 |
commit | 99945ed6642458660ea112409ad5c393ff0e3f6c (patch) | |
tree | 04aef1a4073f859a87bc357fe046eaaed8370ceb /cont.c | |
parent | cfacda1a9f8b8689cb009269b68d25434c9bc1e7 (diff) | |
download | ruby-99945ed6642458660ea112409ad5c393ff0e3f6c.tar.gz |
* cont.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,8 +29,8 @@ typedef struct rb_context_struct { VALUE value; VALUE *vm_stack; #ifdef CAPTURE_JUST_VALID_VM_STACK - int vm_stack_slen; /* length of stack (head of th->stack) */ - int vm_stack_clen; /* length of control frames (tail of th->stack) */ + size_t vm_stack_slen; /* length of stack (head of th->stack) */ + size_t vm_stack_clen; /* length of control frames (tail of th->stack) */ #endif VALUE *machine_stack; VALUE *machine_stack_src; @@ -179,7 +179,7 @@ fiber_free(void *ptr) static void cont_save_machine_stack(rb_thread_t *th, rb_context_t *cont) { - int size; + size_t size; rb_thread_t *sth = &cont->saved_thread; SET_MACHINE_STACK_END(&th->machine_stack_end); |