From 0a44abbec45f1f509d503706989c860acd67a9fc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 4 Feb 2017 10:44:52 -0800 Subject: [PATCH] Fix compilation error in siplib with older C compilers --- sip/siplib/siplib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sip/siplib/siplib.c b/sip/siplib/siplib.c index 55b93128..6369e689 100644 --- a/sip/siplib/siplib.c +++ b/sip/siplib/siplib.c @@ -9914,11 +9914,11 @@ static int sipWrapperType_init(sipWrapperType *self, PyObject *args, */ if (base != NULL && PyObject_TypeCheck((PyObject *)base, (PyTypeObject *)&sipWrapperType_Type)) { - self->wt_td = ((sipWrapperType *)base)->wt_td; - /* Call any new type handler. */ sipNewUserTypeFunc new_user_type_handler; + self->wt_td = ((sipWrapperType *)base)->wt_td; + new_user_type_handler = find_new_user_type_handler( (sipWrapperType *)sipTypeAsPyTypeObject(self->wt_td));