diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-07-28 09:10:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-07-28 23:46:07 +0900 |
commit | 90cf767d158db06312a82c468a2bbf37f63bcb7a (patch) | |
tree | ffa5ef4878d43492553206f6a3435216d29c830b /ractor_core.h | |
parent | 94c3d528e7d1dc86ecafc6b992f16d062a17f015 (diff) |
Fix format-pedantic warnings
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor_core.h b/ractor_core.h index 32ae9ab013..412971decf 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -273,7 +273,7 @@ rb_ractor_set_current_ec_(rb_ractor_t *cr, rb_execution_context_t *ec, const cha #else native_tls_set(ruby_current_ec_key, ec); #endif - RUBY_DEBUG_LOG2(file, line, "ec:%p->%p", cr->threads.running_ec, ec); + RUBY_DEBUG_LOG2(file, line, "ec:%p->%p", (void *)cr->threads.running_ec, (void *)ec); VM_ASSERT(cr->threads.running_ec != ec); cr->threads.running_ec = ec; } |