Fix ftbfs on Fedora 34 #3

Merged
MicheleC merged 1 commits from ftbfs/fedora34 into master 3 years ago

@ -289,7 +289,7 @@ public:
do
{
if (PyList_SET_ITEM(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
if (PyList_SetItem(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
{
Py_DECREF(sipRes);
sipIsErr = 1;
@ -612,7 +612,7 @@ public:
do
{
if (PyList_SET_ITEM(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
if (PyList_SetItem(sipRes,len,PyInt_FromLong((long)*tp)) < 0)
{
Py_DECREF(sipRes);
sipIsErr = 1;

Loading…
Cancel
Save