summaryrefslogtreecommitdiffstats
path: root/sip/qt/qpointarray.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qpointarray.sip')
-rw-r--r--sip/qt/qpointarray.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qt/qpointarray.sip b/sip/qt/qpointarray.sip
index 959963a..5112a2f 100644
--- a/sip/qt/qpointarray.sip
+++ b/sip/qt/qpointarray.sip
@@ -109,7 +109,7 @@ static TQCOORD *getPoints(int nrpnts,PyObject *pntlist)
for (int i = 0; i < nrpnts; ++i)
{
- *pp++ = (TQCOORD)PyInt_AsLong(PyList_GetItem(pntlist,i));
+ *pp++ = (TQCOORD)PyLong_AsLong(PyList_GetItem(pntlist,i));
if (PyErr_Occurred() != NULL)
{