diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 10:47:45 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 10:47:45 +0000 |
| commit | 190d319dab5184b1ef6ecb5df334f6345553b904 (patch) | |
| tree | b321440f4ebea77655521a6b0b844de5b5e818d9 | |
| parent | f4f28bf75f0aa534de3b1edcf46c8a6ee905e9af (diff) | |
* 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
| -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 |
