diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-08-08 00:32:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-03-17 15:57:19 +0900 |
commit | 28a2105a554d875cc5c6fc2b5ac20e0e6c04966e (patch) | |
tree | a17963bfe593a18149bd9f17a9b833ee6fb40f49 /vm_trace.c | |
parent | a91800c4a05cc573a0ed1607210fc360a5c16b57 (diff) |
Prefer `enum ruby_tag_type` over `int`
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c index 037050de18..0f99e34e7b 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -435,7 +435,7 @@ rb_exec_event_hooks(rb_trace_arg_t *trace_arg, rb_hook_list_t *hooks, int pop_p) trace_arg->self != rb_mRubyVMFrozenCore /* skip special methods. TODO: remove it. */) { const VALUE errinfo = ec->errinfo; const VALUE old_recursive = ec->local_storage_recursive_hash; - int state = 0; + enum ruby_tag_type state = 0; /* setup */ ec->local_storage_recursive_hash = ec->local_storage_recursive_hash_for_trace; |