Fix "ANY" macro deprecation

(cherry picked from commit ab76f558c3)
v3.5.13-sru
Francois Andriot 12 years ago committed by Slávek Banko
parent 6d40afe5ae
commit a3f1c478a5

@ -114,7 +114,7 @@ public:
sipCpp->insertStrList (strings, n, a1); sipCpp->insertStrList (strings, n, a1);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
sipFree((ANY *)strings); sipFree((void *)strings);
%End %End
void insertItem (const QString&, int = -1); void insertItem (const QString&, int = -1);
@ -194,7 +194,7 @@ const char **PyQtListToArray(PyObject *lst)
if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL) if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL)
{ {
sipFree((ANY *)str); sipFree((void *)str);
return NULL; return NULL;
} }

@ -72,7 +72,7 @@ public:
sipRes = QXEmbed::processClientCmdline (a0, n, strings); sipRes = QXEmbed::processClientCmdline (a0, n, strings);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
sipFree((ANY *)strings); sipFree((void *)strings);
%End %End

Loading…
Cancel
Save