diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | thread.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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 |