[Lldb-commits] [lldb] [LLDB] Silence warnings when building on Windows (PR #191566)

Martin Storsjö via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 11 04:22:01 PDT 2026


================
@@ -171,7 +171,7 @@ Expected<std::shared_ptr<FifoFile>> CreateRunInTerminalCommFile() {
   SmallString<256> comm_file;
 #if _WIN32
   char pipe_name[MAX_PATH];
-  sprintf(pipe_name, "\\\\.\\pipe\\lldb-dap-run-in-terminal-comm-%d",
+  sprintf(pipe_name, "\\\\.\\pipe\\lldb-dap-run-in-terminal-comm-%lu",
----------------
mstorsjo wrote:

This LGTM

https://github.com/llvm/llvm-project/pull/191566


More information about the lldb-commits mailing list