Skip to content

Commit c00e8dd

Browse files
[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]
1 parent 1e0edb0 commit c00e8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/wasm/ProcessWasm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ llvm::Expected<std::vector<lldb::addr_t>>
104104
ProcessWasm::GetWasmCallStack(lldb::tid_t tid) {
105105
StreamString packet;
106106
packet.Printf("qWasmCallStack:");
107-
packet.Printf("%llx", tid);
107+
packet.Printf("%" PRIx64, tid);
108108

109109
StringExtractorGDBRemote response;
110110
if (m_gdb_comm.SendPacketAndWaitForResponse(packet.GetString(), response) !=

0 commit comments

Comments
 (0)