From ab76f558c35b4d81212012b9ee5114144685b920 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Mon, 4 Feb 2013 22:43:57 +0100 Subject: Fix "ANY" macro deprecation --- sip/tdeui/keditlistbox.sip | 4 ++-- sip/tdeui/qxembed.sip | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sip') diff --git a/sip/tdeui/keditlistbox.sip b/sip/tdeui/keditlistbox.sip index 4c902a9..6fd3391 100644 --- a/sip/tdeui/keditlistbox.sip +++ b/sip/tdeui/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 TQString&, int = -1); @@ -194,7 +194,7 @@ const char **PyTQtListToArray(PyObject *lst) if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL) { - sipFree((ANY *)str); + sipFree((void *)str); return NULL; } diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip index 7ea37e0..e4af5f3 100644 --- a/sip/tdeui/qxembed.sip +++ b/sip/tdeui/qxembed.sip @@ -72,7 +72,7 @@ public: sipRes = QXEmbed::processClientCmdline (a0, n, strings); Py_END_ALLOW_THREADS - sipFree((ANY *)strings); + sipFree((void *)strings); %End -- cgit v1.2.1