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
This commit is contained in:
Siva Chandra 2015-09-04 22:26:52 +00:00
parent 964211f25f
commit 2becc987ef
1 changed files with 1 additions and 1 deletions

View File

@ -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");