summaryrefslogtreecommitdiffstats
path: root/siplib/tqtlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'siplib/tqtlib.c')
-rw-r--r--siplib/tqtlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/siplib/tqtlib.c b/siplib/tqtlib.c
index df35d6c..d59c138 100644
--- a/siplib/tqtlib.c
+++ b/siplib/tqtlib.c
@@ -143,7 +143,7 @@ PyObject *sip_api_invoke_slot(const sipSlot *slot, PyObject *sigargs)
* longer exists.
*/
if (PyObject_TypeCheck(self, (PyTypeObject *)&sipSimpleWrapper_Type) &&
- sip_api_get_address(self) == NULL)
+ sip_api_get_address((sipSimpleWrapper *)self) == NULL)
{
Py_XDECREF(sref);