зеркало из https://github.com/github/ruby.git
* cont.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
cfacda1a9f
Коммит
99945ed664
6
cont.c
6
cont.c
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче