From a2db78986dd11a8e85faa9dc5ab877228306c1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 11 May 2021 19:21:58 +0200 Subject: [PATCH] Fix ftbfs on Fedora 34 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- sip/tdeparts/browserextension.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sip/tdeparts/browserextension.sip b/sip/tdeparts/browserextension.sip index cf93792..a9d47a3 100644 --- a/sip/tdeparts/browserextension.sip +++ b/sip/tdeparts/browserextension.sip @@ -477,7 +477,7 @@ TQMap testTQMapTQCStringInt (TQMap); PyObject *ainst; PyObject *binst = NULL; if (((ainst = sipConvertFromNewType(new TQCString (acpp), sipType_TQCString, NULL)) == NULL) - || ((binst = PyInt_FromLong (bcpp)) < 0) + || ((binst = PyInt_FromLong (bcpp)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst);