Cast to void pointer to suppress -Wformat-pedantic in RUBY_DEBUG_LOG

This commit is contained in:
Nobuyoshi Nakada 2021-10-03 11:42:31 +09:00
parent ceeae31901
commit ff480f2953
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
3 changed files with 6 additions and 6 deletions

View file

@ -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);