From cd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Tue, 16 May 2023 07:24:54 -0700 Subject: [PATCH] lsan-rt: silence a -Wformat-pedantic --- compiler-rt/lib/lsan/lsan_mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/lsan/lsan_mac.cpp b/compiler-rt/lib/lsan/lsan_mac.cpp index 2bcd005..990954a 100644 --- a/compiler-rt/lib/lsan/lsan_mac.cpp +++ b/compiler-rt/lib/lsan/lsan_mac.cpp @@ -80,7 +80,7 @@ extern "C" void lsan_dispatch_call_block_and_release(void *block) { VReport(2, "lsan_dispatch_call_block_and_release(): " "context: %p, pthread_self: %p\n", - block, pthread_self()); + block, (void*)pthread_self()); lsan_register_worker_thread(context->parent_tid); // Call the original dispatcher for the block. context->func(context->block); -- 2.7.4