summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-03 10:47:45 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-03 10:47:45 +0000
commit190d319dab5184b1ef6ecb5df334f6345553b904 (patch)
treeb321440f4ebea77655521a6b0b844de5b5e818d9 /thread.c
parentf4f28bf75f0aa534de3b1edcf46c8a6ee905e9af (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
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 122fe30fd0..609e726620 100644
--- a/thread.c
+++ b/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