Skip to content

Commit 988843c

Browse files
committed
[CHERIoT] Fix printf formatter warnings.
1 parent 71f52f8 commit 988843c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/source/Core/DumpDataExtractor.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,10 @@ lldb::offset_t lldb_private::DumpDataExtractor(
516516
uint64_t top = ((a_top_top << 9) + T) << e;
517517
uint64_t len = top - base;
518518

519-
s->Printf("0x%08x (v:? 0x%08llx-0x%08llx l:0x%llx o:0x%x%s p: %s)", addr,
520-
base, top, len, otype, otype_str.data(), perm_string.c_str());
519+
s->Printf("0x%08" PRIx32 " (v:? 0x%08" PRIx64 "-0x%08" PRIx64
520+
" l:0x%" PRIx64 " o:0x%x%s p: %s)",
521+
addr, base, top, len, otype, otype_str.data(),
522+
perm_string.c_str());
521523

522524
break;
523525
}

0 commit comments

Comments
 (0)