summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-10-14 09:18:23 +0000
committerPavel Labath <labath@google.com>2015-10-14 09:18:23 +0000
commitcb57fdd98d288713b112aab2ce94d12758376a1e (patch)
treed8a683b45ee8c73650bba2ff12d05a8d45f3fb61 /lldb/source/Plugins/ScriptInterpreter/Python
parent838e7bbf1f6aede97d49eedeb8a0c909e4715a2d (diff)
downloadbcm5719-llvm-cb57fdd98d288713b112aab2ce94d12758376a1e.tar.gz
bcm5719-llvm-cb57fdd98d288713b112aab2ce94d12758376a1e.zip
Fix compiler warnings in ScriptInterpreterPython
llvm-svn: 250282
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
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<char*>(mode);
#if PY_MAJOR_VERSION >= 3
OpenPOWER on IntegriCloud