[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 18:01:20 PDT 2019


scw updated this revision to Diff 226525.
scw added a comment.

Rebase.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69455/new/

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.226525.patch
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191026/692b90d0/attachment.bin>


More information about the lldb-commits mailing list