[compiler-rt] [sanitizers][Darwin][NFC] Insert missing void* casts for printf %p (PR #161282)
Andrew Haberlandt via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 30 07:18:40 PDT 2025
================
@@ -1147,8 +1147,8 @@ static void PrintVmmap() {
lastsz += vmsize;
} else {
if (lastsz)
- Printf("|| `[%p, %p]` || size=0x%016" PRIx64 " ||\n", last,
- last + lastsz, lastsz);
+ Printf("|| `[%p, %p]` || size=0x%016" PRIx64 " ||\n", (void*)last,
+ (void*)(last + lastsz), (void*)lastsz);
----------------
ndrewh wrote:
True!!! Warnings are disabled for this component so I did not catch it. Will fix
https://github.com/llvm/llvm-project/pull/161282
More information about the llvm-commits
mailing list