aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-07-29 12:25:46 -0700
committerKazu Hirata <kazu@google.com>2025-07-29 12:25:46 -0700
commitc00e8dd9ea411cdd40a6bc7bdd71eb8e91416fec (patch)
tree4baa9e213f2f6f98b4629e14bb308e37535a5882
parent1e0edb072ab32e22949f88f786b340a912b81d58 (diff)
downloadllvm-c00e8dd9ea411cdd40a6bc7bdd71eb8e91416fec.zip
llvm-c00e8dd9ea411cdd40a6bc7bdd71eb8e91416fec.tar.gz
llvm-c00e8dd9ea411cdd40a6bc7bdd71eb8e91416fec.tar.bz2
[lldb] Fix a warning
This patch fixes: lldb/source/Plugins/Process/wasm/ProcessWasm.cpp:107:25: error: format specifies type 'unsigned long long' but the argument has type 'lldb::tid_t' (aka 'unsigned long') [-Werror,-Wformat]
-rw-r--r--lldb/source/Plugins/Process/wasm/ProcessWasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp b/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
index 3ea3ea2..5eeabec 100644
--- a/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
+++ b/lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
@@ -104,7 +104,7 @@ llvm::Expected<std::vector<lldb::addr_t>>
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) !=