1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix format-pedantic warnings

This commit is contained in:
Nobuyoshi Nakada 2022-07-28 09:10:16 +09:00
parent 94c3d528e7
commit 90cf767d15
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

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