mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Cast to void pointer to suppress -Wformat-pedantic in RUBY_DEBUG_LOG
This commit is contained in:
parent
ceeae31901
commit
ff480f2953
3 changed files with 6 additions and 6 deletions
2
thread.c
2
thread.c
|
@ -992,7 +992,7 @@ thread_create_core(VALUE thval, struct thread_create_params *params)
|
|||
|
||||
rb_native_mutex_initialize(&th->interrupt_lock);
|
||||
|
||||
RUBY_DEBUG_LOG("r:%u th:%p", rb_ractor_id(th->ractor), th);
|
||||
RUBY_DEBUG_LOG("r:%u th:%p", rb_ractor_id(th->ractor), (void *)th);
|
||||
|
||||
rb_ractor_living_threads_insert(th->ractor, th);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue