ruby-changes:11950
From: nobu <ko1@a...>
Date: Mon, 1 Jun 2009 10:11:14 +0900 (JST)
Subject: [ruby-changes:11950] Ruby:r23614 (trunk): * cont.c: fixed types.
nobu 2009-06-01 10:11:04 +0900 (Mon, 01 Jun 2009) New Revision: 23614 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23614 Log: * cont.c: fixed types. Modified files: trunk/cont.c Index: cont.c =================================================================== --- cont.c (revision 23613) +++ cont.c (revision 23614) @@ -29,8 +29,8 @@ 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 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/