summaryrefslogtreecommitdiff
path: root/compiler-rt
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2023-05-16 07:24:54 -0700
committerJon Roelofs <jonathan_roelofs@apple.com>2023-05-16 07:24:54 -0700
commitcd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d (patch)
treecab26c83e8078aff2eeb1c463f83db718cbce78b /compiler-rt
parent54d227312cca6648e681903c449278131bbdf740 (diff)
downloadllvm-cd4ffbe0ff1f03639ddb8e1c7addcdd52503c61d.tar.gz
lsan-rt: silence a -Wformat-pedantic
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/lsan/lsan_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/lsan/lsan_mac.cpp b/compiler-rt/lib/lsan/lsan_mac.cpp
index 2bcd0057f24b..990954a8b687 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);