summaryrefslogtreecommitdiffstats
path: root/sip/qt/qimage.sip
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-03-31 03:20:28 +0200
committerSlávek Banko <[email protected]>2013-03-31 03:20:28 +0200
commit4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0 (patch)
tree5e6d7c940f5f6c1d1649ada0f0807b8bfc931501 /sip/qt/qimage.sip
parent4ce840182d803dde742908b6ab3d7bbcf56823c6 (diff)
downloadpytqt-4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0.tar.gz
pytqt-4dd3555f4b1ba66f692a36ac05c8e8ccd5e4eec0.zip
Fix "ANY" macro deprecation
Diffstat (limited to 'sip/qt/qimage.sip')
-rw-r--r--sip/qt/qimage.sip4
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/qt/qimage.sip b/sip/qt/qimage.sip
index e0d99ed..dc2c85a 100644
--- a/sip/qt/qimage.sip
+++ b/sip/qt/qimage.sip
@@ -173,7 +173,7 @@ public:
sipCpp = new TQImage(str);
Py_END_ALLOW_THREADS
- sipFree((ANY *)str);
+ sipFree((void *)str);
}
%End
@@ -532,7 +532,7 @@ const char **PyTQt_qt_ListToArray(PyObject *lst)
if ((s = PyString_AsString(PyList_GetItem(lst,i))) == NULL)
{
- sipFree((ANY *)str);
+ sipFree((void *)str);
return NULL;
}