summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/python-typemaps.swig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-typemaps.swig b/lldb/scripts/Python/python-typemaps.swig
index 9c43ef18ac1..7eedfdbdb8d 100644
--- a/lldb/scripts/Python/python-typemaps.swig
+++ b/lldb/scripts/Python/python-typemaps.swig
@@ -422,7 +422,7 @@ bool SetNumberFromPyObject<double>(double &number, PyObject *obj) {
}
%#endif
using namespace lldb_private;
- File file($1, false);
+ NativeFile file($1, false);
PythonFile py_file(file, mode);
$result = py_file.release();
if (!$result)
OpenPOWER on IntegriCloud