summaryrefslogtreecommitdiffstats
path: root/sip/qt/qfontmetrics.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qfontmetrics.sip')
-rw-r--r--sip/qt/qfontmetrics.sip2
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/qt/qfontmetrics.sip b/sip/qt/qfontmetrics.sip
index 294aedb..9ab3d89 100644
--- a/sip/qt/qfontmetrics.sip
+++ b/sip/qt/qfontmetrics.sip
@@ -201,7 +201,7 @@ static int intListToArray(PyObject *pl,int **ap)
for (i = 0; i < nint; ++i)
{
- *ip++ = PyInt_AsLong(PyList_GetItem(pl,i));
+ *ip++ = PyLong_AsLong(PyList_GetItem(pl,i));
if (PyErr_Occurred())
{