diff options
author | François Andriot <[email protected]> | 2021-05-11 19:21:58 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2021-05-11 19:21:58 +0200 |
commit | a2db78986dd11a8e85faa9dc5ab877228306c1a2 (patch) | |
tree | 3fc66a0fc46ab86b081e461e1654e98d6d15b234 | |
parent | 4358f073871c8a750886dcc9e77d7fb72c64b7b3 (diff) | |
download | pytde-a2db78986dd11a8e85faa9dc5ab877228306c1a2.tar.gz pytde-a2db78986dd11a8e85faa9dc5ab877228306c1a2.zip |
Fix ftbfs on Fedora 34
Signed-off-by: François Andriot <[email protected]>
-rw-r--r-- | sip/tdeparts/browserextension.sip | 2 |
1 files changed, 1 insertions, 1 deletions
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<TQCString,int> testTQMapTQCStringInt (TQMap<TQCString,int>); 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); |