Fix compiler warnings in ScriptInterpreterPython

llvm-svn: 250282
This commit is contained in:
Pavel Labath 2015-10-14 09:18:23 +00:00
parent 838e7bbf1f
commit cb57fdd98d
1 changed files with 1 additions and 1 deletions

View File

@ -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