diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-10-03 11:42:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-10-03 13:59:48 +0900 |
commit | ff480f29533432dc03a22072d76f42bf8b641e76 (patch) | |
tree | c385d3f5cbf70e8ad9720ac5aaf98f9d17868226 /thread.c | |
parent | ceeae31901275c9a3fde19aa05b343fbcf6187d1 (diff) |
Cast to void pointer to suppress -Wformat-pedantic in RUBY_DEBUG_LOG
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |