Browse Source

Fix ftbfs on Fedora 34

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/1/head
François Andriot 1 year ago
parent
commit
a2db78986d
  1. 2
      sip/tdeparts/browserextension.sip

2
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);

Loading…
Cancel
Save