diff options
Diffstat (limited to 'sources/shiboken6/libshiboken/sbkarrayconverter.cpp')
-rw-r--r-- | sources/shiboken6/libshiboken/sbkarrayconverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/libshiboken/sbkarrayconverter.cpp b/sources/shiboken6/libshiboken/sbkarrayconverter.cpp index 58d58d25c..3960295aa 100644 --- a/sources/shiboken6/libshiboken/sbkarrayconverter.cpp +++ b/sources/shiboken6/libshiboken/sbkarrayconverter.cpp @@ -157,7 +157,7 @@ static void sequenceToCppIntArray(PyObject *pyIn, void *cppOut) { auto *handle = reinterpret_cast<ArrayHandle<int> *>(cppOut); handle->allocate(PySequence_Size(pyIn)); - convertPySequence(pyIn, _PepLong_AsInt, handle->data()); + convertPySequence(pyIn, PyLong_AsLong, handle->data()); } static PythonToCppFunc sequenceToCppIntArrayCheck(PyObject *pyIn, int dim1, int /* dim2 */) |