summaryrefslogtreecommitdiffstats
path: root/sip/qt/qpainter.sip
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2021-05-11 18:49:42 +0200
committerFrançois Andriot <francois.andriot@free.fr>2021-05-11 18:49:42 +0200
commit6d6b6319a8e4e37db4415dcd433ac30f4446a5a1 (patch)
tree28ca534728f07d68003fe0a3b8a795a7a8891570 /sip/qt/qpainter.sip
parenta0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3 (diff)
downloadpytqt-6d6b6319a8e4e37db4415dcd433ac30f4446a5a1.tar.gz
pytqt-6d6b6319a8e4e37db4415dcd433ac30f4446a5a1.zip
Fix ftbfs on Fedora 34
error: ordered comparison of pointer with integer zero ('PyObject*' {aka '_object*'} and 'in ') Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'sip/qt/qpainter.sip')
-rw-r--r--sip/qt/qpainter.sip4
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/qt/qpainter.sip b/sip/qt/qpainter.sip
index e325520..15ef70b 100644
--- a/sip/qt/qpainter.sip
+++ b/sip/qt/qpainter.sip
@@ -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;