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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits