[Lldb-commits] [lldb] ad709bc - [lldb] Fix -Wformat warning after 5a27b99825a5ba3a7a2eec3d35aea381a3ba9a31

Krasimir Georgiev via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 9 03:42:14 PST 2022


Author: Krasimir Georgiev
Date: 2022-03-09T12:41:34+01:00
New Revision: ad709bcfb02e5bc7c92a8f1b9b6f0ef76a8081fd

URL: https://github.com/llvm/llvm-project/commit/ad709bcfb02e5bc7c92a8f1b9b6f0ef76a8081fd
DIFF: https://github.com/llvm/llvm-project/commit/ad709bcfb02e5bc7c92a8f1b9b6f0ef76a8081fd.diff

LOG: [lldb] Fix -Wformat warning after 5a27b99825a5ba3a7a2eec3d35aea381a3ba9a31

No functional changes intended.

Added: 
    

Modified: 
    lldb/source/Core/Debugger.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 3ebf3ceefc3a8..3d3bc75b34eb1 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -1802,7 +1802,7 @@ void Debugger::HandleProgressEvent(const lldb::EventSP &event_sp) {
   // Print the progress message.
   std::string message = data->GetMessage();
   if (data->GetTotal() != UINT64_MAX) {
-    output.Printf("[%llu/%llu] %s...", data->GetCompleted(), data->GetTotal(),
+    output.Printf("[%" PRIu64 "/%" PRIu64 "] %s...", data->GetCompleted(), data->GetTotal(),
                   message.c_str());
   } else {
     output.Printf("%s...", message.c_str());


        


More information about the lldb-commits mailing list