From a3f1c478a5f6b63e62fb1dc0a053242904e13c0a Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Mon, 4 Feb 2013 22:43:57 +0100 Subject: [PATCH] Fix "ANY" macro deprecation (cherry picked from commit ab76f558c35b4d81212012b9ee5114144685b920) --- sip/kdeui/keditlistbox.sip | 4 ++-- sip/kdeui/qxembed.sip | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sip/kdeui/keditlistbox.sip b/sip/kdeui/keditlistbox.sip index 54faab7..e08f2e7 100644 --- a/sip/kdeui/keditlistbox.sip +++ b/sip/kdeui/keditlistbox.sip @@ -114,7 +114,7 @@ public: sipCpp->insertStrList (strings, n, a1); Py_END_ALLOW_THREADS - sipFree((ANY *)strings); + sipFree((void *)strings); %End void insertItem (const QString&, int = -1); @@ -194,7 +194,7 @@ const char **PyQtListToArray(PyObject *lst) if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL) { - sipFree((ANY *)str); + sipFree((void *)str); return NULL; } diff --git a/sip/kdeui/qxembed.sip b/sip/kdeui/qxembed.sip index ab46875..46821df 100644 --- a/sip/kdeui/qxembed.sip +++ b/sip/kdeui/qxembed.sip @@ -72,7 +72,7 @@ public: sipRes = QXEmbed::processClientCmdline (a0, n, strings); Py_END_ALLOW_THREADS - sipFree((ANY *)strings); + sipFree((void *)strings); %End