[Lldb-commits] [lldb] r250282 - Fix compiler warnings in ScriptInterpreterPython
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 14 02:18:25 PDT 2015
Author: labath
Date: Wed Oct 14 04:18:23 2015
New Revision: 250282
URL: http://llvm.org/viewvc/llvm-project?rev=250282&view=rev
Log:
Fix compiler warnings in ScriptInterpreterPython
Modified:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp?rev=250282&r1=250281&r2=250282&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Wed Oct 14 04:18:23 2015
@@ -468,7 +468,7 @@ ScriptInterpreterPython::LeaveSession ()
}
static PythonObject
-PyFile_FromFile_Const(FILE *fp, char *mode)
+PyFile_FromFile_Const(FILE *fp, const char *mode)
{
char *cmode = const_cast<char*>(mode);
#if PY_MAJOR_VERSION >= 3
More information about the lldb-commits
mailing list