[Lldb-commits] [PATCH] D69455: Correct size_t format specifier
Shu-Chun Weng via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 25 17:06:05 PDT 2019
scw created this revision.
scw added a reviewer: jingham.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69455
Files:
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Index: lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
===================================================================
--- lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -1257,7 +1257,7 @@
oneliner += "(frame, bp_loc, internal_dict)";
} else {
error.SetErrorStringWithFormat("expected 3 or 4 argument "
- "function, %s has %d",
+ "function, %s has %zu",
function_name, num_args);
return error;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69455.226524.patch
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191026/f03f9d14/attachment-0001.bin>
More information about the lldb-commits
mailing list