aboutsummaryrefslogtreecommitdiffstats
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 881a066a92..00d8b43986 100644
--- a/thread.c
+++ b/thread.c
@@ -196,7 +196,7 @@ vm_check_ints_blocking(rb_execution_context_t *ec)
}
static int
-vm_living_thread_num(rb_vm_t *vm)
+vm_living_thread_num(const rb_vm_t *vm)
{
return vm->living_thread_num;
}