Author: Shu-Chun Weng
Date: 2019-10-26T10:38:06+02:00
New Revision: 5e307808557f4786c6438c9cfd67784073c5a3b7

URL: 
https://github.com/llvm/llvm-project/commit/5e307808557f4786c6438c9cfd67784073c5a3b7
DIFF: 
https://github.com/llvm/llvm-project/commit/5e307808557f4786c6438c9cfd67784073c5a3b7.diff

LOG: Correct size_t format specifier

Differential Revision: https://reviews.llvm.org/D69455

Added: 
    

Modified: 
    lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

Removed: 
    


################################################################################
diff  --git 
a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 
b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 0c48ac498ec8..15c3e241fce7 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -1257,7 +1257,7 @@ Status 
ScriptInterpreterPythonImpl::SetBreakpointCommandCallbackFunction(
     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;
   }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to