summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-08-08 00:32:45 +0900
committerNobuyoshi Nakada <[email protected]>2024-03-17 15:57:19 +0900
commit28a2105a554d875cc5c6fc2b5ac20e0e6c04966e (patch)
treea17963bfe593a18149bd9f17a9b833ee6fb40f49 /thread.c
parenta91800c4a05cc573a0ed1607210fc360a5c16b57 (diff)
Prefer `enum ruby_tag_type` over `int`
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 1ef4849c22..e6363fc7ce 100644
--- a/thread.c
+++ b/thread.c
@@ -4364,7 +4364,7 @@ rb_thread_wait_for_single_fd(int fd, int events, struct timeval *timeout)
int result = 0;
nfds_t nfds;
struct waiting_fd wfd;
- int state;
+ enum ruby_tag_type state;
volatile int lerrno;
rb_execution_context_t *ec = GET_EC();