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 /thread.c | |
parent | f4f28bf75f0aa534de3b1edcf46c8a6ee905e9af (diff) | |
download | ruby-190d319dab5184b1ef6ecb5df334f6345553b904.tar.gz |
* 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
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |