From cb57fdd98d288713b112aab2ce94d12758376a1e Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 14 Oct 2015 09:18:23 +0000 Subject: Fix compiler warnings in ScriptInterpreterPython llvm-svn: 250282 --- .../source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 47655f59138..48fd4087bbf 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -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(mode); #if PY_MAJOR_VERSION >= 3 -- cgit v1.2.3