summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
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