forked from OSchip/llvm-project
Fix compiler warnings in ScriptInterpreterPython
llvm-svn: 250282
This commit is contained in:
parent
838e7bbf1f
commit
cb57fdd98d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue