@@ -43,7 +43,7 @@ NORETURN(static void rb_raise_jump(VALUE, VALUE));
43
43
void rb_ec_clear_current_thread_trace_func (const rb_execution_context_t * ec );
44
44
void rb_ec_clear_all_trace_func (const rb_execution_context_t * ec );
45
45
46
- static int rb_ec_cleanup (rb_execution_context_t * ec , int ex );
46
+ static int rb_ec_cleanup (rb_execution_context_t * ec , enum ruby_tag_type ex );
47
47
static int rb_ec_exec_node (rb_execution_context_t * ec , void * n );
48
48
49
49
VALUE rb_eLocalJumpError ;
@@ -176,11 +176,11 @@ ruby_finalize(void)
176
176
int
177
177
ruby_cleanup (int ex )
178
178
{
179
- return rb_ec_cleanup (GET_EC (), ex );
179
+ return rb_ec_cleanup (GET_EC (), ( enum ruby_tag_type ) ex );
180
180
}
181
181
182
182
static int
183
- rb_ec_cleanup (rb_execution_context_t * ec , int ex0 )
183
+ rb_ec_cleanup (rb_execution_context_t * ec , enum ruby_tag_type ex0 )
184
184
{
185
185
int state ;
186
186
volatile VALUE errs [2 ] = { Qundef , Qundef };
@@ -189,7 +189,7 @@ rb_ec_cleanup(rb_execution_context_t *ec, int ex0)
189
189
rb_thread_t * const volatile th0 = th ;
190
190
volatile int sysex = EXIT_SUCCESS ;
191
191
volatile int step = 0 ;
192
- volatile int ex = ex0 ;
192
+ volatile enum ruby_tag_type ex = ex0 ;
193
193
194
194
rb_threadptr_interrupt (th );
195
195
rb_threadptr_check_signal (th );
0 commit comments