mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Fix compilation error in siplib with older C compilers
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user