diff --git a/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp b/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp index d2ef0445bc67..b19d8b7387bb 100644 --- a/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp +++ b/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp @@ -64,12 +64,12 @@ static void PrintBTEntry(lldb::addr_t lbound, lldb::addr_t ubound, const lldb::addr_t one_cmpl32 = ~((uint32_t)0); if ((lbound == one_cmpl64 || one_cmpl32) && ubound == 0) { - result.Printf("Null bounds on map: pointer value = 0x%lx\n", value); + result.Printf("Null bounds on map: pointer value = 0x%" PRIu64 "\n", value); } else { - result.Printf(" lbound = 0x%lx,", lbound); - result.Printf(" ubound = 0x%lx", ubound); - result.Printf(" (pointer value = 0x%lx,", value); - result.Printf(" metadata = 0x%lx)\n", meta); + result.Printf(" lbound = 0x%" PRIu64 ",", lbound); + result.Printf(" ubound = 0x%" PRIu64 , ubound); + result.Printf(" (pointer value = 0x%" PRIu64 ",", value); + result.Printf(" metadata = 0x%" PRIu64 ")\n", meta); } }