зеркало из https://github.com/github/ruby.git
* thread.c (vm_living_thread_num): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f4f28bf75f
Коммит
190d319dab
|
@ -1,3 +1,7 @@
|
|||
Sun Jun 3 19:47:18 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* thread.c (vm_living_thread_num): suppress a warning.
|
||||
|
||||
Sun Jun 3 17:23:52 2012 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* use execve() to preserve environment variables when exec method is
|
||||
|
|
2
thread.c
2
thread.c
|
@ -2163,7 +2163,7 @@ thread_keys_i(ID key, VALUE value, VALUE ary)
|
|||
static int
|
||||
vm_living_thread_num(rb_vm_t *vm)
|
||||
{
|
||||
return vm->living_threads->num_entries;
|
||||
return (int)vm->living_threads->num_entries;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Загрузка…
Ссылка в новой задаче