================ @@ -979,8 +967,8 @@ lldb::SBError DAP::WaitForProcessToStop(uint32_t seconds) { } std::this_thread::sleep_for(std::chrono::microseconds(250)); } - error.SetErrorStringWithFormat("process failed to stop within %u seconds", - seconds); + error.SetErrorStringWithFormat("process failed to stop within %lld seconds", ---------------- DavidSpickett wrote:
Warning on AArch64 Linux compiling with clang: ``` [665/779] Building CXX object tools/lldb/tools/lldb-dap/CMakeFiles/lldb-dap.dir/DAP.cpp.o /home/david.spickett/llvm-project/lldb/tools/lldb-dap/DAP.cpp:972:34: warning: format specifies type 'long long' but the argument has type 'rep' (aka 'long') [-Wformat] 971 | error.SetErrorStringWithFormat("process failed to stop within %lld seconds", | ~~~~ | %ld 972 | seconds.count()); | ^~~~~~~~~~~~~~~ 1 warning generated. ``` https://github.com/llvm/llvm-project/pull/133624 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits