summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-09-04 22:26:52 +0000
committerSiva Chandra <sivachandra@google.com>2015-09-04 22:26:52 +0000
commit2becc987efa6ca087707dd52f17af9150b33c0fc (patch)
tree3512d63f0ca531d19bf0daa0ebf4f19a5f074714 /lldb/scripts/Python
parent964211f25ffa3f6057b61828cad013d36ebc02e5 (diff)
downloadbcm5719-llvm-2becc987efa6ca087707dd52f17af9150b33c0fc.tar.gz
bcm5719-llvm-2becc987efa6ca087707dd52f17af9150b33c0fc.zip
Convert "long" input to "long long" in typemap for lldb::tid_t.
Summary: lldb::tid_t is 64 bit, but "long" need not always be 64 bit. Reviewers: chying, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12650 llvm-svn: 246885
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 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");
OpenPOWER on IntegriCloud