ruby-changes:72728
From: Nobuyoshi <ko1@a...>
Date: Thu, 28 Jul 2022 23:48:22 +0900 (JST)
Subject: [ruby-changes:72728] 90cf767d15 (master): Fix format-pedantic warnings
https://git.ruby-lang.org/ruby.git/commit/?id=90cf767d15 From 90cf767d158db06312a82c468a2bbf37f63bcb7a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 28 Jul 2022 09:10:16 +0900 Subject: Fix format-pedantic warnings --- ractor_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 https://github.com/ruby/ruby/blob/trunk/ractor_core.h#L273 #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; } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/