diff --git a/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp b/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp index 3ea3ea2a4684..5eeabec08655 100644 --- a/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp +++ b/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp @@ -104,7 +104,7 @@ llvm::Expected> ProcessWasm::GetWasmCallStack(lldb::tid_t tid) { StreamString packet; packet.Printf("qWasmCallStack:"); - packet.Printf("%llx", tid); + packet.Printf("%" PRIx64, tid); StringExtractorGDBRemote response; if (m_gdb_comm.SendPacketAndWaitForResponse(packet.GetString(), response) !=