diff options
-rw-r--r-- | thread.c | 2 | ||||
-rw-r--r-- | vm_core.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -194,7 +194,7 @@ vm_check_ints_blocking(rb_execution_context_t *ec) static int vm_living_thread_num(rb_vm_t *vm) { - return (int)vm->living_thread_num; + return vm->living_thread_num; } #if THREAD_DEBUG @@ -526,8 +526,8 @@ typedef struct rb_vm_struct { struct list_head waiting_fds; /* <=> struct waiting_fd */ struct list_head living_threads; - size_t living_thread_num; VALUE thgroup_default; + int living_thread_num; unsigned int running: 1; unsigned int thread_abort_on_exception: 1; |