diff options
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r-- | lldb/scripts/Python/python-typemaps.swig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-typemaps.swig b/lldb/scripts/Python/python-typemaps.swig index a3ce3b3de72..f50c55dd114 100644 --- a/lldb/scripts/Python/python-typemaps.swig +++ b/lldb/scripts/Python/python-typemaps.swig @@ -29,7 +29,7 @@ if (PyInt_Check($input)) $1 = PyInt_AsLong($input); else if (PyLong_Check($input)) - $1 = PyLong_AsLong($input); + $1 = PyLong_AsLongLong($input); else { PyErr_SetString(PyExc_ValueError, "Expecting an integer"); |