--- src/ruby/ext/grpc/rb_channel.c.orig 2023-05-20 19:48:13 UTC +++ src/ruby/ext/grpc/rb_channel.c @@ -694,7 +694,7 @@ static void run_poll_channels_loop_unblocking_func(voi } // Poll channel connectivity states in background thread without the GIL. -static VALUE run_poll_channels_loop(VALUE arg) { +static VALUE run_poll_channels_loop(void *arg) { (void)arg; gpr_log( GPR_DEBUG, --- src/ruby/ext/grpc/rb_event_thread.c.orig 2023-05-20 19:51:52 UTC +++ src/ruby/ext/grpc/rb_event_thread.c @@ -114,7 +114,7 @@ static void grpc_rb_event_unblocking_func(void* arg) { /* This is the implementation of the thread that handles auth metadata plugin * events */ -static VALUE grpc_rb_event_thread(VALUE arg) { +static VALUE grpc_rb_event_thread(void *arg) { grpc_rb_event* event; (void)arg; grpc_ruby_init();